AP_AHRS: fix example

This commit is contained in:
Peter Barker 2019-05-07 13:47:32 +10:00 committed by Randy Mackay
parent 156f0ff496
commit 0c24810a48

View File

@ -7,6 +7,7 @@
#include <AP_BoardConfig/AP_BoardConfig.h> #include <AP_BoardConfig/AP_BoardConfig.h>
#include <GCS_MAVLink/GCS_Dummy.h> #include <GCS_MAVLink/GCS_Dummy.h>
#include <AP_RangeFinder/AP_RangeFinder.h> #include <AP_RangeFinder/AP_RangeFinder.h>
#include <AP_Logger/AP_Logger.h>
void setup(); void setup();
void loop(); void loop();
@ -22,6 +23,8 @@ static Compass compass;
static AP_GPS gps; static AP_GPS gps;
static AP_Baro barometer; static AP_Baro barometer;
static AP_SerialManager serial_manager; static AP_SerialManager serial_manager;
AP_Int32 logger_bitmask;
static AP_Logger logger{logger_bitmask};
class DummyVehicle { class DummyVehicle {
public: public: