diff --git a/libraries/AP_RobotisServo/AP_RobotisServo.h b/libraries/AP_RobotisServo/AP_RobotisServo.h index 6bf9d6cd66..ff23b71279 100644 --- a/libraries/AP_RobotisServo/AP_RobotisServo.h +++ b/libraries/AP_RobotisServo/AP_RobotisServo.h @@ -21,7 +21,7 @@ #include #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