mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-22 23:13:34 +08:00
input_rc.msg: remove timestamp_publication, use timestamp instead
This commit is contained in:
@@ -248,8 +248,8 @@ void task_main(int argc, char *argv[])
|
||||
|
||||
// populate the input_rc_s structure
|
||||
if (ret == 0) {
|
||||
_rc_in.timestamp_publication = ts;
|
||||
_rc_in.timestamp_last_signal = _rc_in.timestamp_publication;
|
||||
_rc_in.timestamp = ts;
|
||||
_rc_in.timestamp_last_signal = _rc_in.timestamp;
|
||||
_rc_in.channel_count = num_channels;
|
||||
|
||||
// TODO - need to add support for RSSI, failsafe mode
|
||||
|
||||
Reference in New Issue
Block a user