From 46b9acac6df63c4a94b8a96fae4065b4a868e614 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Beat=20K=C3=BCng?= Date: Wed, 10 Feb 2021 11:20:55 +0100 Subject: [PATCH] mag_calibration: fix typo --- src/modules/commander/mag_calibration.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/commander/mag_calibration.cpp b/src/modules/commander/mag_calibration.cpp index dac72a7269..26ec2da0ee 100644 --- a/src/modules/commander/mag_calibration.cpp +++ b/src/modules/commander/mag_calibration.cpp @@ -195,7 +195,7 @@ static calibrate_return check_calibration_result(float offset_x, float offset_y, // earth field between 0.25 and 0.65 Gauss if (sphere_radius < 0.2f || sphere_radius >= 0.7f) { - calibration_log_emergency(mavlink_log_pub, "Retry calibration (mag %u sphere radius invaid %.3f)", cur_mag, + calibration_log_emergency(mavlink_log_pub, "Retry calibration (mag %u sphere radius invalid %.3f)", cur_mag, (double)sphere_radius); return calibrate_return_error; }