From dc74f9773939d39f766acb6549c2e1c4918b9653 Mon Sep 17 00:00:00 2001 From: Peter Barker Date: Wed, 7 Feb 2024 20:50:34 +1100 Subject: [PATCH] AP_Compass: move logger object up to AP_Vehicle --- libraries/AP_Compass/Compass_learn.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libraries/AP_Compass/Compass_learn.cpp b/libraries/AP_Compass/Compass_learn.cpp index 12861e3fe2..f39933f1fe 100644 --- a/libraries/AP_Compass/Compass_learn.cpp +++ b/libraries/AP_Compass/Compass_learn.cpp @@ -9,6 +9,8 @@ #if COMPASS_LEARN_ENABLED +#include + extern const AP_HAL::HAL &hal; // constructor