mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-06-02 11:59:17 +08:00
mag_calibration: fix typo
This commit is contained in:
@@ -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
|
// earth field between 0.25 and 0.65 Gauss
|
||||||
if (sphere_radius < 0.2f || sphere_radius >= 0.7f) {
|
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);
|
(double)sphere_radius);
|
||||||
return calibrate_return_error;
|
return calibrate_return_error;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user