From d183847aa3eb0db8dd18f6a6b83a73bc84203cbc Mon Sep 17 00:00:00 2001 From: Peter Barker Date: Mon, 25 Jun 2018 21:57:49 +1000 Subject: [PATCH] Sub: use compass singleton for logging --- ArduSub/ArduSub.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ArduSub/ArduSub.cpp b/ArduSub/ArduSub.cpp index 6befe3c98c..e3ef289262 100644 --- a/ArduSub/ArduSub.cpp +++ b/ArduSub/ArduSub.cpp @@ -175,7 +175,7 @@ void Sub::update_batt_compass() compass.read(); // log compass information if (should_log(MASK_LOG_COMPASS) && !ahrs.have_ekf_logging()) { - DataFlash.Log_Write_Compass(compass); + DataFlash.Log_Write_Compass(); } } }