From 0c24810a48f8516cd94e01ef135bd68da581fc37 Mon Sep 17 00:00:00 2001 From: Peter Barker Date: Tue, 7 May 2019 13:47:32 +1000 Subject: [PATCH] AP_AHRS: fix example --- libraries/AP_AHRS/examples/AHRS_Test/AHRS_Test.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/libraries/AP_AHRS/examples/AHRS_Test/AHRS_Test.cpp b/libraries/AP_AHRS/examples/AHRS_Test/AHRS_Test.cpp index c171e4562a..f3321afb78 100644 --- a/libraries/AP_AHRS/examples/AHRS_Test/AHRS_Test.cpp +++ b/libraries/AP_AHRS/examples/AHRS_Test/AHRS_Test.cpp @@ -7,6 +7,7 @@ #include #include #include +#include void setup(); void loop(); @@ -22,6 +23,8 @@ static Compass compass; static AP_GPS gps; static AP_Baro barometer; static AP_SerialManager serial_manager; +AP_Int32 logger_bitmask; +static AP_Logger logger{logger_bitmask}; class DummyVehicle { public: