diff --git a/libraries/AP_GPS/AP_GPS_UBLOX.cpp b/libraries/AP_GPS/AP_GPS_UBLOX.cpp index f9308b8fc3cdc..81b33dc5a0beb 100644 --- a/libraries/AP_GPS/AP_GPS_UBLOX.cpp +++ b/libraries/AP_GPS/AP_GPS_UBLOX.cpp @@ -1835,7 +1835,7 @@ AP_GPS_UBLOX::_parse_gps(void) void AP_GPS_UBLOX::pps_interrupt(uint8_t pin, bool high, uint32_t timestamp_us) { - _last_pps_time_us = timestamp_us; + _last_pps_time_us = AP_HAL::micros64(); } void