From 7d27328e137e5de7d8860a67c8351b8ffb5ed8f8 Mon Sep 17 00:00:00 2001 From: Mark Haslinghuis Date: Wed, 15 Mar 2023 22:51:09 +0100 Subject: [PATCH] CONFIG: Add CAMERA_CONTROL if PIN defined (#12516) --- src/main/target/common_post.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/main/target/common_post.h b/src/main/target/common_post.h index c3accccd18..6ef906a439 100644 --- a/src/main/target/common_post.h +++ b/src/main/target/common_post.h @@ -121,6 +121,10 @@ #endif // defined(USE_RX_CC2500) +#if defined(CAMERA_CONTROL_PIN) && defined(USE_VTX) && !defined(USE_CAMERA_CONTROL) +#define USE_CAMERA_CONTROL +#endif + /* END HARDWARE INCLUSIONS */ #if defined(USE_VTX_RTC6705_SOFTSPI)