From c0fac911101f8ec5870376e677c952620a5f273f Mon Sep 17 00:00:00 2001 From: Peter Barker Date: Mon, 25 Jun 2018 21:58:31 +1000 Subject: [PATCH] Tracker: use compass singleton for logging --- AntennaTracker/sensors.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/AntennaTracker/sensors.cpp b/AntennaTracker/sensors.cpp index 100de44c306b5..ad29b725852c4 100644 --- a/AntennaTracker/sensors.cpp +++ b/AntennaTracker/sensors.cpp @@ -17,7 +17,7 @@ void Tracker::update_compass(void) if (g.compass_enabled && compass.read()) { ahrs.set_compass(&compass); if (should_log(MASK_LOG_COMPASS)) { - DataFlash.Log_Write_Compass(compass); + DataFlash.Log_Write_Compass(); } } }