Skip to content

Commit

Permalink
AP_GPS: use 64 bit time in the pps interrupt callback in ublox driver
Browse files Browse the repository at this point in the history
  • Loading branch information
bugobliterator authored and tridge committed Jun 26, 2024
1 parent 651f4f1 commit 178cf7c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libraries/AP_GPS/AP_GPS_UBLOX.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 178cf7c

Please sign in to comment.