Browse Source

Fixing function which retrievs mag calibration values.

Signed-off-by: jwilson <jwilson@qti.qualcomm.com>
sbg
jwilson 9 years ago committed by Lorenz Meier
parent
commit
67ea3d6ec6
  1. 3
      src/platforms/posix/drivers/df_mpu9250_wrapper/df_mpu9250_wrapper.cpp

3
src/platforms/posix/drivers/df_mpu9250_wrapper/df_mpu9250_wrapper.cpp

@ -547,6 +547,9 @@ void DfMpu9250Wrapper::_update_mag_calibration() @@ -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

Loading…
Cancel
Save