From 286f6245ff04063bd19a74ab21cc85e0c2416c0f Mon Sep 17 00:00:00 2001 From: muramura Date: Sat, 7 Oct 2023 18:32:26 +0900 Subject: [PATCH] AP_Baro: Add a step number to the message --- libraries/AP_Baro/AP_Baro.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libraries/AP_Baro/AP_Baro.cpp b/libraries/AP_Baro/AP_Baro.cpp index ebb4af139699b..37d1f54e2ae6c 100644 --- a/libraries/AP_Baro/AP_Baro.cpp +++ b/libraries/AP_Baro/AP_Baro.cpp @@ -314,7 +314,7 @@ void AP_Baro::calibrate(bool save) do { update(); if (AP_HAL::millis() - tstart > 500) { - AP_BoardConfig::config_error("Baro: unable to calibrate"); + AP_BoardConfig::config_error("Baro: unable to calibrate 1"); } hal.scheduler->delay(10); } while (!healthy()); @@ -331,7 +331,7 @@ void AP_Baro::calibrate(bool save) do { update(); if (AP_HAL::millis() - tstart > 500) { - AP_BoardConfig::config_error("Baro: unable to calibrate"); + AP_BoardConfig::config_error("Baro: unable to calibrate 2"); } } while (!healthy()); for (uint8_t i=0; i<_num_sensors; i++) {