From d1e11a5bde8f2e056f1e818c491070458eeff9b4 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Sat, 6 Jan 2018 15:29:23 +1100 Subject: [PATCH] Plane: fixed build (remove learn_offsets call) --- ArduPlane/ArduPlane.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/ArduPlane/ArduPlane.cpp b/ArduPlane/ArduPlane.cpp index aa3bedd8ef..6aa6db99d9 100644 --- a/ArduPlane/ArduPlane.cpp +++ b/ArduPlane/ArduPlane.cpp @@ -233,7 +233,6 @@ void Plane::update_compass(void) { if (g.compass_enabled && compass.read()) { ahrs.set_compass(&compass); - compass.learn_offsets(); if (should_log(MASK_LOG_COMPASS) && !ahrs.have_ekf_logging()) { DataFlash.Log_Write_Compass(compass); }