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 cf201afdf6
commit 8e412d0885
1 changed files with 1 additions and 1 deletions

View File

@ -28,7 +28,7 @@
#include "AP_Compass.h"
#include "Compass_learn.h"
extern AP_HAL::HAL& hal;
extern const AP_HAL::HAL& hal;
#if APM_BUILD_TYPE(APM_BUILD_ArduCopter) || APM_BUILD_TYPE(APM_BUILD_ArduSub)
#define COMPASS_LEARN_DEFAULT Compass::LEARN_NONE