AP_Compass: disable COMPASS_LEARN when mag calibration used
This commit is contained in:
parent
6c74782997
commit
2baa0ac2f2
@ -52,6 +52,10 @@ Compass::start_calibration(uint8_t i, bool retry, bool autosave, float delay, bo
|
||||
}
|
||||
_calibrator[i].start(retry, autosave, delay);
|
||||
_compass_cal_autoreboot = autoreboot;
|
||||
|
||||
// disable compass learning both for calibration and after completion
|
||||
_learn.set_and_save(0);
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user