mirror of https://github.com/ArduPilot/ardupilot
AP_AHRS: correct compilation when AP_AHRS_ENABLED is off
e.g. CubeOrange-periph-heavy
This commit is contained in:
parent
cd44d09d84
commit
8b9831dc74
|
@ -29,6 +29,6 @@
|
|||
#endif
|
||||
|
||||
#ifndef AP_AHRS_POSITION_RESET_ENABLED
|
||||
#define AP_AHRS_POSITION_RESET_ENABLED (BOARD_FLASH_SIZE>1024)
|
||||
#define AP_AHRS_POSITION_RESET_ENABLED (BOARD_FLASH_SIZE>1024 && AP_AHRS_ENABLED)
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Reference in New Issue