AP_RobotisServo: disable with minmimize features and 1mb flash

This commit is contained in:
Randy Mackay 2022-06-14 13:48:12 +09:00 committed by Andrew Tridgell
parent 91d33c885e
commit 8f51e28242
1 changed files with 1 additions and 1 deletions

View File

@ -21,7 +21,7 @@
#include <AP_HAL/AP_HAL_Boards.h> #include <AP_HAL/AP_HAL_Boards.h>
#ifndef AP_ROBOTISSERVO_ENABLED #ifndef AP_ROBOTISSERVO_ENABLED
#define AP_ROBOTISSERVO_ENABLED 1 #define AP_ROBOTISSERVO_ENABLED (!HAL_MINIMIZE_FEATURES && BOARD_FLASH_SIZE > 1024)
#endif #endif
#if AP_ROBOTISSERVO_ENABLED #if AP_ROBOTISSERVO_ENABLED