Tracker: removed compass learn_offsets()

This commit is contained in:
Andrew Tridgell 2018-01-07 08:14:42 +11:00
parent 65308f9411
commit b702dd5342
1 changed files with 0 additions and 1 deletions

View File

@ -37,7 +37,6 @@ void Tracker::update_compass(void)
{
if (g.compass_enabled && compass.read()) {
ahrs.set_compass(&compass);
compass.learn_offsets();
if (should_log(MASK_LOG_COMPASS)) {
DataFlash.Log_Write_Compass(compass);
}