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,