mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-11-03 23:51:35 +08:00
simulator: fix printf format
This commit is contained in:
@@ -301,7 +301,7 @@ void Simulator::handle_message(mavlink_message_t *msg, bool publish)
|
|||||||
float step = diff / 4000.0f;
|
float step = diff / 4000.0f;
|
||||||
|
|
||||||
if (step > 1.1f || step < 0.9f) {
|
if (step > 1.1f || step < 0.9f) {
|
||||||
PX4_INFO("time_usec: %llu, diff: %llu, step: %.2f", now_us, diff, step);
|
PX4_INFO("time_usec: %lu, diff: %lu, step: %.2f", now_us, diff, step);
|
||||||
}
|
}
|
||||||
|
|
||||||
last_time = now_us;
|
last_time = now_us;
|
||||||
|
|||||||
Reference in New Issue
Block a user