mirror of
https://github.com/ArduPilot/ardupilot.git
synced 2026-10-06 19:00:27 +08:00
AP_Module: rename HAL_EXTERNAL_AHRS_ENABLED to AP_EXTERNAL_AHRS_ENABLED
in preparation for making this an optional feature; a lot of people will want to go and put this in their hwdef files as soon as we do this!
This commit is contained in:
committed by
Randy Mackay
parent
d58c274780
commit
bd4d711e7f
@@ -19,9 +19,9 @@ const AP_HAL::HAL& hal = AP_HAL::get_HAL();
|
||||
|
||||
// sensor declaration
|
||||
static AP_InertialSensor ins;
|
||||
#if HAL_EXTERNAL_AHRS_ENABLED
|
||||
#if AP_EXTERNAL_AHRS_ENABLED
|
||||
static AP_ExternalAHRS eAHRS;
|
||||
#endif // HAL_EXTERNAL_AHRS_ENABLED
|
||||
#endif // AP_EXTERNAL_AHRS_ENABLED
|
||||
static AP_GPS gps;
|
||||
static AP_Baro baro;
|
||||
static AP_SerialManager serial_manager;
|
||||
|
||||
Reference in New Issue
Block a user