Skip to content

Commit

Permalink
AP_GPS: use 64bit time for PPS timestamp in GPIO interrupt
Browse files Browse the repository at this point in the history
bugobliterator committed Jun 25, 2024
1 parent 3378d50 commit b9cf515
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
@@ -1860,7 +1860,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

0 comments on commit b9cf515

Please sign in to comment.