Fixing function which retrievs mag calibration values.

Signed-off-by: jwilson <jwilson@qti.qualcomm.com>
This commit is contained in:
jwilson
2016-05-26 21:47:19 -07:00
committed by Lorenz Meier
parent c6250657eb
commit 67ea3d6ec6
@@ -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