AP_Compass: adjust for new vehicle base class

This commit is contained in:
Peter Barker 2018-12-27 22:57:39 +11:00 committed by Andrew Tridgell
parent 55eab1546d
commit 31065bc9d2
1 changed files with 1 additions and 1 deletions

View File

@ -28,7 +28,7 @@
#include "AP_Compass.h" #include "AP_Compass.h"
#include "Compass_learn.h" #include "Compass_learn.h"
extern AP_HAL::HAL& hal; extern const AP_HAL::HAL& hal;
#ifndef COMPASS_LEARN_DEFAULT #ifndef COMPASS_LEARN_DEFAULT
#define COMPASS_LEARN_DEFAULT Compass::LEARN_NONE #define COMPASS_LEARN_DEFAULT Compass::LEARN_NONE