Skip to content

Commit

Permalink
AP_Camera: add HAL_GCS_ENABLED to mavlink2 backend dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
peterbarker authored and tridge committed Mar 11, 2024
1 parent 8d70528 commit 3e529a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libraries/AP_Camera/AP_Camera_config.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 3e529a2

Please sign in to comment.