From 718cab04997c278d62c91a562047d5aa953d0fc2 Mon Sep 17 00:00:00 2001 From: Martin Budden Date: Tue, 26 Jul 2016 23:33:08 +0100 Subject: [PATCH] Changed CC3D_OPBL build to include LEDs rather than softserial --- src/main/target/CC3D/target.h | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/main/target/CC3D/target.h b/src/main/target/CC3D/target.h index 091b45b07..037fe2cf5 100644 --- a/src/main/target/CC3D/target.h +++ b/src/main/target/CC3D/target.h @@ -72,8 +72,12 @@ #define USE_VCP #define USE_UART1 #define USE_UART3 +#ifdef CC3D_OPBL +#define SERIAL_PORT_COUNT 3 +#else #define USE_SOFTSERIAL1 #define SERIAL_PORT_COUNT 4 +#endif #ifdef USE_UART1_RX_DMA #undef USE_UART1_RX_DMA @@ -110,10 +114,10 @@ #undef GPS #ifdef CC3D_OPBL -#undef LED_STRIP +//#undef LED_STRIP #define SKIP_CLI_COMMAND_HELP #undef BARO -//#undef MAG +#undef MAG #undef SONAR #endif