From 8a516e548891bcfa9b2f16efda447f679c022927 Mon Sep 17 00:00:00 2001 From: Daniel Agar Date: Mon, 19 Oct 2020 23:01:02 -0400 Subject: [PATCH] commander: preflight check don't read mag device_id --- .../Arming/PreFlightCheck/checks/magnetometerCheck.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/commander/Arming/PreFlightCheck/checks/magnetometerCheck.cpp b/src/modules/commander/Arming/PreFlightCheck/checks/magnetometerCheck.cpp index 9dfcad5610..f9c827803d 100644 --- a/src/modules/commander/Arming/PreFlightCheck/checks/magnetometerCheck.cpp +++ b/src/modules/commander/Arming/PreFlightCheck/checks/magnetometerCheck.cpp @@ -68,7 +68,7 @@ bool PreFlightCheck::magnetometerCheck(orb_advert_t *mavlink_log_pub, vehicle_st if (!calibration_valid) { if (report_fail) { - mavlink_log_critical(mavlink_log_pub, "Preflight Fail: Compass #%u %u uncalibrated", instance, device_id); + mavlink_log_critical(mavlink_log_pub, "Preflight Fail: Compass #%u uncalibrated", instance); } }