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
@@ -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