mirror of
https://gitee.com/xiaohuolufeihua/bizhang_-obav.git
synced 2026-05-21 09:22:18 +00: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
|
||||
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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user