From e8c418caaffa2949822f28881b4a1b39131abb5d Mon Sep 17 00:00:00 2001 From: David Sidrane Date: Thu, 12 Aug 2021 06:15:22 -0700 Subject: [PATCH] EKF:Use inttypes --- src/modules/ekf2/EKF2.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/modules/ekf2/EKF2.cpp b/src/modules/ekf2/EKF2.cpp index 50b57f153a..398266df86 100644 --- a/src/modules/ekf2/EKF2.cpp +++ b/src/modules/ekf2/EKF2.cpp @@ -1316,7 +1316,8 @@ void EKF2::SelectImuStatus() } } - PX4_WARN("%d - IMU status not found for accel %d, gyro %d", _instance, _device_id_accel, _device_id_gyro); + PX4_WARN("%d - IMU status not found for accel %" PRId32 ", gyro %" PRId32, _instance, _device_id_accel, + _device_id_gyro); } void EKF2::UpdateImuStatus()