mirror of https://github.com/ArduPilot/ardupilot
AP_RobotisServo: don't check MINIMIZE_FEATURES when also checking BOARD_FLASH_SIZE
we have an assertion that no board with >1MB of flash is minimized
This commit is contained in:
parent
a499fcc71c
commit
b19f2acb35
|
@ -21,7 +21,7 @@
|
|||
#include <AP_HAL/AP_HAL_Boards.h>
|
||||
|
||||
#ifndef AP_ROBOTISSERVO_ENABLED
|
||||
#define AP_ROBOTISSERVO_ENABLED (!HAL_MINIMIZE_FEATURES && BOARD_FLASH_SIZE > 1024)
|
||||
#define AP_ROBOTISSERVO_ENABLED BOARD_FLASH_SIZE > 1024
|
||||
#endif
|
||||
|
||||
#if AP_ROBOTISSERVO_ENABLED
|
||||
|
|
Loading…
Reference in New Issue