AP_Camera: add HAL_GCS_ENABLED to mavlink2 backend dependencies

This commit is contained in:
Peter Barker 2024-03-07 18:52:56 +11:00 committed by Andrew Tridgell
parent 8d7052887c
commit 3e529a241b
1 changed files with 1 additions and 1 deletions

View File

@ -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