1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-16 21:05:35 +03:00

Removed unnecessary target #undefs

This commit is contained in:
Martin Budden 2018-01-31 14:03:39 +00:00
parent b4d399eb3a
commit 67fd67a15f
10 changed files with 0 additions and 34 deletions

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -19,8 +19,6 @@
#define TARGET_BOARD_IDENTIFIER "REF3"
#undef USE_OSD
#define CONFIG_FASTLOOP_PREFERRED_ACC ACC_NONE
#define LED0_PIN PB4

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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