mirror of https://github.com/ArduPilot/ardupilot
AP_Compass: adjust for new vehicle base class
This commit is contained in:
parent
55eab1546d
commit
31065bc9d2
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue