chore: remove unused FUNC_FIRST_WITHOUT_ENABLE, DEFAULT_THEME (#5122)

This commit is contained in:
Peter Feerick
2024-06-07 15:44:24 +10:00
committed by GitHub
parent 76dde34f19
commit f6f6d2a85a
2 changed files with 1 additions and 11 deletions
+1 -4
View File
@@ -558,7 +558,6 @@ enum BacklightMode {
};
enum Functions {
// first the functions which need a checkbox
FUNC_OVERRIDE_CHANNEL,
FUNC_TRAINER,
FUNC_INSTANT_TRIM,
@@ -569,9 +568,7 @@ enum Functions {
FUNC_SET_FAILSAFE,
FUNC_RANGECHECK,
FUNC_BIND,
// then the other functions
FUNC_FIRST_WITHOUT_ENABLE SKIP,
FUNC_PLAY_SOUND = FUNC_FIRST_WITHOUT_ENABLE,
FUNC_PLAY_SOUND,
FUNC_PLAY_TRACK,
FUNC_PLAY_VALUE,
FUNC_PLAY_SCRIPT,
-7
View File
@@ -93,7 +93,6 @@ if (PCB STREQUAL X10)
option(INTERNAL_GPS "Support for internal GPS" ON)
set(SWSERIALPOWER YES)
set(USB_CHARGER YES)
set(DEFAULT_THEME "DARKBLUE")
add_definitions(-DMANUFACTURER_RADIOMASTER)
if (NOT BLUETOOTH)
set(AUX2_SERIAL ON)
@@ -159,12 +158,6 @@ add_definitions(-DSTM32_SUPPORT_32BIT_TIMERS)
set(SDRAM ON)
if(DEFAULT_THEME)
add_definitions(-DDEFAULT_THEME_${DEFAULT_THEME})
else()
add_definitions(-DDEFAULT_THEME_DEFAULT)
endif()
if(NOT UNEXPECTED_SHUTDOWN)
add_definitions(-DNO_UNEXPECTED_SHUTDOWN)
endif()