mirror of https://github.com/ArduPilot/ardupilot
AP_Compass: add and use AP_COMPASS_ENABLED
This commit is contained in:
parent
e8ada7f4ee
commit
3f4995068c
|
@ -4,13 +4,17 @@
|
|||
#include <AP_ExternalAHRS/AP_ExternalAHRS_config.h>
|
||||
#include <AP_MSP/msp.h>
|
||||
|
||||
#ifndef AP_COMPASS_ENABLED
|
||||
#define AP_COMPASS_ENABLED 1
|
||||
#endif
|
||||
|
||||
#ifndef AP_COMPASS_DIAGONALS_ENABLED
|
||||
#define AP_COMPASS_DIAGONALS_ENABLED 1
|
||||
#endif
|
||||
|
||||
// Backend support
|
||||
#ifndef AP_COMPASS_BACKEND_DEFAULT_ENABLED
|
||||
#define AP_COMPASS_BACKEND_DEFAULT_ENABLED 1
|
||||
#define AP_COMPASS_BACKEND_DEFAULT_ENABLED AP_COMPASS_ENABLED
|
||||
#endif
|
||||
|
||||
#ifndef AP_COMPASS_EXTERNALAHRS_ENABLED
|
||||
|
|
Loading…
Reference in New Issue