From 8f51e28242e1e5b8dc229b1d6b00b6c135769558 Mon Sep 17 00:00:00 2001 From: Randy Mackay Date: Tue, 14 Jun 2022 13:48:12 +0900 Subject: [PATCH] AP_RobotisServo: disable with minmimize features and 1mb flash --- libraries/AP_RobotisServo/AP_RobotisServo.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/AP_RobotisServo/AP_RobotisServo.h b/libraries/AP_RobotisServo/AP_RobotisServo.h index d5522895a1..cd81cf5f9b 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 1 +#define AP_ROBOTISSERVO_ENABLED (!HAL_MINIMIZE_FEATURES && BOARD_FLASH_SIZE > 1024) #endif #if AP_ROBOTISSERVO_ENABLED