From 3e529a241bde742850d7f22c982c90ae54e4f3be Mon Sep 17 00:00:00 2001 From: Peter Barker Date: Thu, 7 Mar 2024 18:52:56 +1100 Subject: [PATCH] AP_Camera: add HAL_GCS_ENABLED to mavlink2 backend dependencies --- libraries/AP_Camera/AP_Camera_config.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/AP_Camera/AP_Camera_config.h b/libraries/AP_Camera/AP_Camera_config.h index b153c47963..0d2f92e609 100644 --- a/libraries/AP_Camera/AP_Camera_config.h +++ b/libraries/AP_Camera/AP_Camera_config.h @@ -22,7 +22,7 @@ #endif #ifndef AP_CAMERA_MAVLINKCAMV2_ENABLED -#define AP_CAMERA_MAVLINKCAMV2_ENABLED AP_CAMERA_BACKEND_DEFAULT_ENABLED && BOARD_FLASH_SIZE > 1024 +#define AP_CAMERA_MAVLINKCAMV2_ENABLED AP_CAMERA_BACKEND_DEFAULT_ENABLED && HAL_GCS_ENABLED && BOARD_FLASH_SIZE > 1024 #endif #ifndef AP_CAMERA_MOUNT_ENABLED