Plane: fixed build (remove learn_offsets call)
This commit is contained in:
parent
ac4017e2ae
commit
d1e11a5bde
@ -233,7 +233,6 @@ void Plane::update_compass(void)
|
|||||||
{
|
{
|
||||||
if (g.compass_enabled && compass.read()) {
|
if (g.compass_enabled && compass.read()) {
|
||||||
ahrs.set_compass(&compass);
|
ahrs.set_compass(&compass);
|
||||||
compass.learn_offsets();
|
|
||||||
if (should_log(MASK_LOG_COMPASS) && !ahrs.have_ekf_logging()) {
|
if (should_log(MASK_LOG_COMPASS) && !ahrs.have_ekf_logging()) {
|
||||||
DataFlash.Log_Write_Compass(compass);
|
DataFlash.Log_Write_Compass(compass);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user