GCS_MAVLink: Use get_system_clock_us in mavlink_msg_system_time_send

Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
This commit is contained in:
Patrick José Pereira 2018-02-13 23:40:26 -02:00 committed by Jacob Walser
parent 3102846b8b
commit 17a0f6c3be

View File

@ -1131,7 +1131,7 @@ void GCS_MAVLINK::send_system_time(AP_GPS &gps)
{
mavlink_msg_system_time_send(
chan,
gps.time_epoch_usec(),
hal.util->get_system_clock_us(),
AP_HAL::millis());
}