mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-05-20 20:03:54 +08:00
Fixing function which retrievs mag calibration values.
Signed-off-by: jwilson <jwilson@qti.qualcomm.com>
This commit is contained in:
@@ -547,6 +547,9 @@ void DfMpu9250Wrapper::_update_mag_calibration()
|
||||
if (res != OK) {
|
||||
PX4_ERR("Could not access param %s", str);
|
||||
}
|
||||
|
||||
// We got calibration values, let's exit.
|
||||
return;
|
||||
}
|
||||
|
||||
// Set sane default calibration values
|
||||
|
||||
Reference in New Issue
Block a user