mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-21 21:53:35 +08:00
renaming of gps time to UTC time
This commit is contained in:
@@ -112,8 +112,8 @@ int ASHTECH::handle_message(int len)
|
||||
warn("failed setting clock");
|
||||
}
|
||||
|
||||
_gps_position->time_gps_usec = static_cast<uint64_t>(epoch) * 1000000ULL;
|
||||
_gps_position->time_gps_usec += usecs;
|
||||
_gps_position->time_utc_usec = static_cast<uint64_t>(epoch) * 1000000ULL;
|
||||
_gps_position->time_utc_usec += usecs;
|
||||
_gps_position->timestamp_time = hrt_absolute_time();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user