fix: Correctly reflect state of AUX1 when DEBUG build (#3814)
This commit is contained in:
@@ -105,6 +105,13 @@ void postRadioSettingsLoad()
|
||||
g_eeGeneral.stickDeadZone = DEFAULT_STICK_DEADZONE;
|
||||
}
|
||||
#endif
|
||||
#if !defined(DEBUG)
|
||||
// clean up leftovers from a previous DEBUG config
|
||||
for (uint8_t port_nr = 0; port_nr < MAX_AUX_SERIAL; port_nr++) {
|
||||
if (serialGetMode(port_nr) == UART_MODE_DEBUG)
|
||||
serialSetMode(port_nr, UART_MODE_NONE);
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
static bool sortMixerLines()
|
||||
|
||||
Reference in New Issue
Block a user