From 9e0b5910e25060ebf3caa37bdf1e38b51dbe2489 Mon Sep 17 00:00:00 2001 From: Peter Barker Date: Thu, 30 Apr 2015 13:48:12 +1000 Subject: [PATCH] AP_Terrain: use 64-bit timestamps for dataflash logs --- libraries/AP_Terrain/AP_Terrain.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/AP_Terrain/AP_Terrain.cpp b/libraries/AP_Terrain/AP_Terrain.cpp index a97eb18a36..ef2b76aeea 100644 --- a/libraries/AP_Terrain/AP_Terrain.cpp +++ b/libraries/AP_Terrain/AP_Terrain.cpp @@ -358,7 +358,7 @@ void AP_Terrain::log_terrain_data(DataFlash_Class &dataflash) struct log_TERRAIN pkt = { LOG_PACKET_HEADER_INIT(LOG_TERRAIN_MSG), - time_ms : hal.scheduler->millis(), + time_us : hal.scheduler->micros64(), status : (uint8_t)status(), lat : loc.lat, lng : loc.lng,