chore(firmware): cleanup legacy code and '#define' entries (#6735)

This commit is contained in:
philmoz
2025-10-30 16:31:41 +10:00
committed by GitHub
parent 4101d3fe0b
commit 2faf1278ca
52 changed files with 57 additions and 333 deletions
+4
View File
@@ -59,6 +59,7 @@ if(PCB STREQUAL X9D+ AND PCBREV STREQUAL 2019)
else()
option(USBJ_EX "Enable USB Joystick Extension" ON)
endif()
option(AUDIO "Enable audio" ON)
if(PCB STREQUAL X7 AND PCBREV STREQUAL LR3PRO)
option(POWER_LED_BLUE "Override Power LED to be normally Blue" ON)
@@ -456,6 +457,9 @@ if(GUI)
endforeach()
endif()
if(AUDIO)
add_definitions(-DAUDIO)
endif()
if(USBJ_EX)
add_definitions(-DUSBJ_EX)