diff --git a/src/main/target/BETAFLIGHTF3/target.h b/src/main/target/BETAFLIGHTF3/target.h index 9416e9f61..5731666e5 100644 --- a/src/main/target/BETAFLIGHTF3/target.h +++ b/src/main/target/BETAFLIGHTF3/target.h @@ -20,10 +20,6 @@ #define TARGET_BOARD_IDENTIFIER "BFF3" -// Removing some features to make the firmware fit the flash space -#undef USE_TELEMETRY_JETIEXBUS -#undef USE_TELEMETRY_LTM - #define CONFIG_FASTLOOP_PREFERRED_ACC ACC_NONE @@ -54,8 +50,6 @@ #define REMAP_TIM16_DMA #define REMAP_TIM17_DMA -#undef USE_TELEMETRY_IBUS - #define USE_VCP #define USE_UART1 #define USE_UART2 diff --git a/src/main/target/NUCLEOF722/target.h b/src/main/target/NUCLEOF722/target.h index 47e14bbfb..1eb088081 100644 --- a/src/main/target/NUCLEOF722/target.h +++ b/src/main/target/NUCLEOF722/target.h @@ -144,8 +144,6 @@ #define USE_SERIAL_4WAY_BLHELI_INTERFACE -#undef USE_UNCOMMON_MIXERS - #define TARGET_IO_PORTA 0xffff #define TARGET_IO_PORTB 0xffff #define TARGET_IO_PORTC 0xffff diff --git a/src/main/target/OMNIBUS/target.h b/src/main/target/OMNIBUS/target.h index 4ee00f7a1..93a6653e1 100644 --- a/src/main/target/OMNIBUS/target.h +++ b/src/main/target/OMNIBUS/target.h @@ -18,10 +18,6 @@ #pragma once // Removed to make the firmware fit into flash: -#undef USE_TELEMETRY_IBUS -#undef USE_TELEMETRY_JETIEXBUS -#undef USE_SERIALRX_JETIEXBUS -#undef USE_TELEMETRY_MAVLINK #undef USE_TELEMETRY_LTM #undef USE_RTC_TIME diff --git a/src/main/target/RCEXPLORERF3/target.h b/src/main/target/RCEXPLORERF3/target.h index e3cc00ee8..81aba2f63 100644 --- a/src/main/target/RCEXPLORERF3/target.h +++ b/src/main/target/RCEXPLORERF3/target.h @@ -19,8 +19,6 @@ #define TARGET_BOARD_IDENTIFIER "REF3" -#undef USE_OSD - #define CONFIG_FASTLOOP_PREFERRED_ACC ACC_NONE #define LED0_PIN PB4 diff --git a/src/main/target/SPRACINGF3/target.h b/src/main/target/SPRACINGF3/target.h index 2f0c442ed..d173d6e9c 100644 --- a/src/main/target/SPRACINGF3/target.h +++ b/src/main/target/SPRACINGF3/target.h @@ -94,9 +94,6 @@ #define RANGEFINDER_HCSR04_TRIGGER_PIN PB0 #define RANGEFINDER_HCSR04_ECHO_PIN PB1 -#elif defined(RMDO) -#undef USE_GPS - #elif defined(ZCOREF3) #define USE_MAG_DATA_READY_SIGNAL #define ENSURE_MAG_DATA_READY_IS_HIGH diff --git a/src/main/target/SPRACINGF3EVO/target.h b/src/main/target/SPRACINGF3EVO/target.h index 7d2446569..ba3529497 100644 --- a/src/main/target/SPRACINGF3EVO/target.h +++ b/src/main/target/SPRACINGF3EVO/target.h @@ -38,11 +38,6 @@ #endif // SPRACINGF3MQ -// Space reduction measures to make the firmware fit into flash: -#undef USE_TELEMETRY_JETIEXBUS -#undef USE_SERIALRX_JETIEXBUS -#undef USE_TELEMETRY_MAVLINK - #define CONFIG_FASTLOOP_PREFERRED_ACC ACC_DEFAULT diff --git a/src/main/target/SPRACINGF3MINI/target.h b/src/main/target/SPRACINGF3MINI/target.h index ab0c78ae1..93026701d 100644 --- a/src/main/target/SPRACINGF3MINI/target.h +++ b/src/main/target/SPRACINGF3MINI/target.h @@ -31,9 +31,6 @@ #define SPRACINGF3MINI_REV 2 #endif -// Space reduction measures to make the firmware fit into flash: -#undef USE_RCDEVICE - #define CONFIG_FASTLOOP_PREFERRED_ACC ACC_NONE #define LED0_PIN PB3 diff --git a/src/main/target/SPRACINGF3NEO/target.h b/src/main/target/SPRACINGF3NEO/target.h index c77b925d6..298760f0d 100644 --- a/src/main/target/SPRACINGF3NEO/target.h +++ b/src/main/target/SPRACINGF3NEO/target.h @@ -95,10 +95,6 @@ #define USE_VTX_RTC6705 #define VTX_RTC6705_OPTIONAL // VTX/OSD board is OPTIONAL -// Disabled due to flash size -#undef USE_VTX_SMARTAUDIO -#undef USE_VTX_TRAMP - #define RTC6705_CS_PIN PF4 #define RTC6705_SPI_INSTANCE SPI3 #define RTC6705_POWER_PIN PC3 diff --git a/src/main/target/SPRACINGF4NEO/target.h b/src/main/target/SPRACINGF4NEO/target.h index 690b580b1..9f3df4bed 100644 --- a/src/main/target/SPRACINGF4NEO/target.h +++ b/src/main/target/SPRACINGF4NEO/target.h @@ -209,10 +209,6 @@ // FIXME While it's possible to use the button on the OSD/VTX board for binding enabling it here will break binding unless you have the OSD/VTX connected. //#define BINDPLUG_PIN BUTTON_A_PIN -// Temporarily disable SMARTAUDIO and TRAMP VTX support due to flash size issues. -#undef USE_VTX_SMARTAUDIO -#undef USE_VTX_TRAMP - #define USE_SERIAL_4WAY_BLHELI_INTERFACE #define TARGET_IO_PORTA 0xffff diff --git a/src/main/target/STM32F3DISCOVERY/target.h b/src/main/target/STM32F3DISCOVERY/target.h index 6fb39609e..7670c647d 100644 --- a/src/main/target/STM32F3DISCOVERY/target.h +++ b/src/main/target/STM32F3DISCOVERY/target.h @@ -32,7 +32,6 @@ #define CONFIG_FASTLOOP_PREFERRED_ACC ACC_NONE #undef USE_OSD // ROM SAVING -#undef USE_TELEMETRY_JETIEXBUS // ROM SAVING #define CURRENT_TARGET_CPU_VOLTAGE 3.0