Skip to content

Commit

Permalink
chore: remove unused FUNC_FIRST_WITHOUT_ENABLE, DEFAULT_THEME (#5122)
Browse files Browse the repository at this point in the history
  • Loading branch information
pfeerick authored Jun 7, 2024
1 parent 76dde34 commit f6f6d2a
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 11 deletions.
5 changes: 1 addition & 4 deletions radio/src/dataconstants.h
Original file line number Diff line number Diff line change
Expand Up @@ -558,7 +558,6 @@ enum BacklightMode {
};

enum Functions {
// first the functions which need a checkbox
FUNC_OVERRIDE_CHANNEL,
FUNC_TRAINER,
FUNC_INSTANT_TRIM,
Expand All @@ -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,
Expand Down
7 changes: 0 additions & 7 deletions radio/src/targets/horus/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -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()
Expand Down

0 comments on commit f6f6d2a

Please sign in to comment.