diff --git a/libraries/AP_HAL_ChibiOS/hwdef/include/minimize_features.inc b/libraries/AP_HAL_ChibiOS/hwdef/include/minimize_features.inc index e6aea3fb4a..31e76c0e08 100644 --- a/libraries/AP_HAL_ChibiOS/hwdef/include/minimize_features.inc +++ b/libraries/AP_HAL_ChibiOS/hwdef/include/minimize_features.inc @@ -55,8 +55,8 @@ define AP_WINCH_ENABLED 0 # prune out some odd camera backends: define AP_CAMERA_BACKEND_DEFAULT_ENABLED 0 -define AP_CAMERA_RELAY_ENABLED 1 -define AP_CAMERA_SERVO_ENABLED 1 +define AP_CAMERA_RELAY_ENABLED AP_CAMERA_ENABLED +define AP_CAMERA_SERVO_ENABLED AP_CAMERA_ENABLED # no SLCAN on these boards (use can-over-mavlink if required) define AP_CAN_SLCAN_ENABLED 0