mirror of https://github.com/ArduPilot/ardupilot
AP_Compass: adjust for new vehicle base class
This commit is contained in:
parent
cf201afdf6
commit
8e412d0885
|
@ -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;
|
||||||
|
|
||||||
#if APM_BUILD_TYPE(APM_BUILD_ArduCopter) || APM_BUILD_TYPE(APM_BUILD_ArduSub)
|
#if APM_BUILD_TYPE(APM_BUILD_ArduCopter) || APM_BUILD_TYPE(APM_BUILD_ArduSub)
|
||||||
#define COMPASS_LEARN_DEFAULT Compass::LEARN_NONE
|
#define COMPASS_LEARN_DEFAULT Compass::LEARN_NONE
|
||||||
|
|
Loading…
Reference in New Issue