mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-06-01 02:55:07 +08:00
lockstep_scheduler: use PRIu64 for timestamp printf
This commit is contained in:
@@ -50,7 +50,7 @@ LockstepScheduler::~LockstepScheduler()
|
||||
void LockstepScheduler::set_absolute_time(uint64_t time_us)
|
||||
{
|
||||
if (_time_us == 0 && time_us > 0) {
|
||||
PX4_INFO("setting initial absolute time to %lu us", time_us);
|
||||
PX4_INFO("setting initial absolute time to %" PRIu64 " us", time_us);
|
||||
}
|
||||
|
||||
_time_us = time_us;
|
||||
|
||||
Reference in New Issue
Block a user