UI improvements
This commit is contained in:
@@ -54,6 +54,7 @@ set(INTERNAL_MODULES PXX1;PXX2;MULTI;CRSF CACHE STRING "Internal modules")
|
||||
# VCP CLI
|
||||
set(ENABLE_SERIAL_PASSTHROUGH ON CACHE BOOL "Enable serial passthrough")
|
||||
set(CLI ON CACHE BOOL "Enable CLI")
|
||||
set(AUX_SERIAL ON)
|
||||
|
||||
if (PCB STREQUAL X10)
|
||||
set(PCBREV "STD" CACHE STRING "PCB Revision")
|
||||
@@ -100,7 +101,6 @@ if (PCB STREQUAL X10)
|
||||
set(USB_CHARGER YES)
|
||||
set(DEFAULT_THEME "DARKBLUE")
|
||||
set(SBUS_TRAINER ON)
|
||||
set(AUX_SERIAL ON)
|
||||
add_definitions(-DMANUFACTURER_RADIOMASTER)
|
||||
if (NOT BLUETOOTH)
|
||||
set(AUX2_SERIAL ON)
|
||||
|
||||
@@ -349,6 +349,7 @@ void set_aux_pwr(uint8_t on)
|
||||
}
|
||||
|
||||
const etx_serial_port_t auxSerialPort = {
|
||||
"AUX1",
|
||||
&AuxSerialDriver,
|
||||
set_aux_pwr,
|
||||
};
|
||||
@@ -366,6 +367,13 @@ void set_aux2_pwr(uint8_t on)
|
||||
}
|
||||
|
||||
const etx_serial_port_t aux2SerialPort = {
|
||||
#if !defined(PCBX12S)
|
||||
"AUX2",
|
||||
#else
|
||||
// AUX2 is hardwired to the internal GPS
|
||||
// on the X12S, let's hide the setting
|
||||
nullptr,
|
||||
#endif
|
||||
&Aux2SerialDriver,
|
||||
set_aux2_pwr,
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user