From 7b52c412876052d01f0b685beb025edf972fbb4a Mon Sep 17 00:00:00 2001 From: Peter Barker Date: Mon, 1 Jul 2019 18:27:36 +1000 Subject: [PATCH] AP_Compass: fix example by instantiating serial_manager --- .../AP_Compass/examples/AP_Compass_test/AP_Compass_test.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/libraries/AP_Compass/examples/AP_Compass_test/AP_Compass_test.cpp b/libraries/AP_Compass/examples/AP_Compass_test/AP_Compass_test.cpp index 007b447090..9c2c435b54 100644 --- a/libraries/AP_Compass/examples/AP_Compass_test/AP_Compass_test.cpp +++ b/libraries/AP_Compass/examples/AP_Compass_test/AP_Compass_test.cpp @@ -35,6 +35,7 @@ public: static DummyVehicle vehicle; // create compass object static Compass compass; +static AP_SerialManager serial_manager; uint32_t timer;