feat: iFlight Commando 14 support (#7494)
Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com> Co-authored-by: Peter Feerick <5500713+pfeerick@users.noreply.github.com>
This commit is contained in:
co-authored by
Claude Opus 4.8
Peter Feerick
parent
44b98d5bfd
commit
640fc189e7
@@ -291,7 +291,8 @@ elseif(PCB STREQUAL X7)
|
||||
endif()
|
||||
set(AUX2_SERIAL OFF)
|
||||
set(RGBLEDS YES)
|
||||
set(FUNCTION_SWITCHES_WITH_RGB YES)
|
||||
set(FUNCTION_SWITCHES YES)
|
||||
set(FUNCTION_SWITCHES_RGB_LEDS YES)
|
||||
elseif(PCBREV STREQUAL ZORRO)
|
||||
set(DEFAULT_INTERNAL_MODULE CROSSFIRE CACHE STRING "Default internal module")
|
||||
set(INTERNAL_MODULE_SERIAL YES)
|
||||
@@ -524,12 +525,15 @@ if(FUNCTION_SWITCHES)
|
||||
add_definitions(-DFUNCTION_SWITCHES)
|
||||
endif()
|
||||
|
||||
if(FUNCTION_SWITCHES_WITH_RGB)
|
||||
set(FUNCTION_SWITCHES YES)
|
||||
add_definitions(-DFUNCTION_SWITCHES)
|
||||
if(FUNCTION_SWITCHES_RGB_LEDS)
|
||||
set(RGB_LEDS YES)
|
||||
add_definitions(-DFUNCTION_SWITCHES_RGB_LEDS)
|
||||
endif()
|
||||
|
||||
if(RGB_LEDS)
|
||||
add_definitions(-DRGB_LEDS)
|
||||
endif()
|
||||
|
||||
if(ENABLE_SERIAL_PASSTHROUGH)
|
||||
set(CLI ON "Enable CLI")
|
||||
endif()
|
||||
|
||||
Reference in New Issue
Block a user