From b702dd53425594d4cd05e4eca7b9988ccd156ff9 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Sun, 7 Jan 2018 08:14:42 +1100 Subject: [PATCH] Tracker: removed compass learn_offsets() --- AntennaTracker/sensors.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/AntennaTracker/sensors.cpp b/AntennaTracker/sensors.cpp index a15a85409d..a256eb5e3a 100644 --- a/AntennaTracker/sensors.cpp +++ b/AntennaTracker/sensors.cpp @@ -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); }