input_rc.msg: remove timestamp_publication, use timestamp instead

This commit is contained in:
Beat Küng
2016-09-19 13:02:31 +02:00
parent 3a94afb03c
commit d297d31c23
10 changed files with 16 additions and 17 deletions
+1 -1
View File
@@ -2645,7 +2645,7 @@ protected:
/* send RC channel data and RSSI */
mavlink_rc_channels_t msg;
msg.time_boot_ms = rc.timestamp_publication / 1000;
msg.time_boot_ms = rc.timestamp / 1000;
msg.chancount = rc.channel_count;
msg.chan1_raw = (rc.channel_count > 0) ? rc.values[0] : UINT16_MAX;
msg.chan2_raw = (rc.channel_count > 1) ? rc.values[1] : UINT16_MAX;