mag_calibration: fix typo

This commit is contained in:
Beat Küng
2021-02-10 11:20:55 +01:00
committed by Lorenz Meier
parent 558fe18dfe
commit 46b9acac6d

View File

@@ -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;
}