mavlink: timesync: readd timesync_status uORB to report Mavlink timesync

This commit is contained in:
TSC21
2020-03-10 12:15:18 +00:00
committed by Nuno Marques
parent 250b6b24ab
commit 2568d9ae20
6 changed files with 17 additions and 15 deletions
+1 -1
View File
@@ -169,10 +169,10 @@ bool RtpsTopics::getMsg(const uint8_t topic_ID, eprosima::fastcdr::Cdr &scdr)
// apply timestamp offset
_timesync->addOffset(msg.timestamp());
msg.serialize(scdr);
ret = true;
@[ if topic == 'Timesync' or topic == 'timesync']@
}
@[ end if]@
ret = true;
_@(topic)_sub.unlockMsg();
}
break;