mirror of https://github.com/ArduPilot/ardupilot
ACM: no need to fetch offsets at startup
AP_Param handles this
This commit is contained in:
parent
ef771fecdc
commit
d6cfc51ae4
|
@ -94,7 +94,6 @@ static void init_compass()
|
|||
return;
|
||||
}
|
||||
dcm.set_compass(&compass);
|
||||
compass.get_offsets(); // load offsets to account for airframe magnetic interference
|
||||
compass.null_offsets_enable();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue