From 996bf5126aadf17db77fd37bf35663bc9cd440bd Mon Sep 17 00:00:00 2001 From: Martin Budden Date: Thu, 12 Jan 2017 21:51:18 +0000 Subject: [PATCH] Remove some serial RX protocols to reduce CC3D_OPBL ROM usage --- src/main/target/CC3D/target.h | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/main/target/CC3D/target.h b/src/main/target/CC3D/target.h index 9ac157fec..77a24a129 100644 --- a/src/main/target/CC3D/target.h +++ b/src/main/target/CC3D/target.h @@ -111,10 +111,18 @@ #ifdef CC3D_OPBL #define SKIP_CLI_COMMAND_HELP +//#undef USE_SERVOS #undef BARO #undef SONAR #undef LED_STRIP #undef USE_SERIAL_4WAY_BLHELI_INTERFACE +//#undef USE_SERIALRX_SPEKTRUM // SRXL, DSM2 and DSMX protocol +//#undef USE_SERIALRX_SBUS // Frsky and Futaba receivers +//#undef USE_SERIALRX_IBUS // FlySky and Turnigy receivers +#undef USE_SERIALRX_CRSF // Team Black Sheep Crossfire protocol +#undef USE_SERIALRX_SUMD // Graupner Hott protocol +#undef USE_SERIALRX_SUMH // Graupner legacy protocol +#undef USE_SERIALRX_XBUS // JR #endif #define DEFAULT_RX_FEATURE FEATURE_RX_PPM