Removed USE_EXTENDED_CMS_MENUS from LUXV2_RACE to fix flash overflow.

This commit is contained in:
mikeller 2019-01-13 12:09:41 +13:00
parent d3aa5855ce
commit 715107eb00
1 changed files with 25 additions and 0 deletions

View File

@ -27,9 +27,34 @@
#endif
// Removed to make the firmware fit into flash (in descending order of priority):
#if defined(LUXV2_RACE)
//#undef USE_GYRO_OVERFLOW_CHECK
//#undef USE_GYRO_LPF2
//#undef USE_RC_SMOOTHING_FILTER
//#undef USE_DYN_LPF
//#undef USE_ITERM_RELAX
//#undef USE_RC_SMOOTHING_FILTER
//#undef USE_THRUST_LINEARIZATION
//#undef USE_HUFFMAN
//#undef USE_PINIO
//#undef USE_PINIOBOX
//#undef USE_TELEMETRY_HOTT
//#undef USE_TELEMETRY_MAVLINK
//#undef USE_TELEMETRY_LTM
//#undef USE_SERIALRX_XBUS
//#undef USE_SERIALRX_SUMH
//#undef USE_PWM
//#undef USE_BOARD_INFO
#undef USE_EXTENDED_CMS_MENUS
//#undef USE_RTC_TIME
#undef USE_RX_MSP
//#undef USE_ESC_SENSOR_INFO
#endif
#define DEFAULT_VOLTAGE_METER_SOURCE VOLTAGE_METER_ADC