Working now.

This commit is contained in:
M.H.Kabir
2014-12-16 13:43:48 +05:30
parent e1bdc4a0fb
commit 8c0d7047b2
2 changed files with 10 additions and 8 deletions
+1 -1
View File
@@ -955,7 +955,7 @@ protected:
void send(const hrt_abstime t) {
mavlink_timesync_t msg;
msg.tc1 = -1;
msg.tc1 = 0;
msg.ts1 = hrt_absolute_time() * 1000; // boot time in nanoseconds
_mavlink->send_message(MAVLINK_MSG_ID_TIMESYNC, &msg);