mirror of
https://github.com/arendst/Tasmota.git
synced 2025-07-24 11:16:34 +00:00
FIX: Allow use of UART0 with enabled USB_CDC_CONSOLE (#21496)
Co-authored-by: Roland Praml <roland@DESKTOP-MKLGCJR>
This commit is contained in:
parent
904fb01e75
commit
f3dcbdcea9
@ -2138,7 +2138,9 @@ void ClaimSerial(void) {
|
||||
#ifdef ESP32
|
||||
#if CONFIG_IDF_TARGET_ESP32C3 || CONFIG_IDF_TARGET_ESP32C6 || CONFIG_IDF_TARGET_ESP32S2 || CONFIG_IDF_TARGET_ESP32S3
|
||||
#ifdef USE_USB_CDC_CONSOLE
|
||||
return; // USB console does not use serial
|
||||
if (!tasconsole_serial) {
|
||||
return; // USB console does not use serial
|
||||
}
|
||||
#endif // USE_USB_CDC_CONSOLE
|
||||
#endif // ESP32C3/C6, S2 or S3
|
||||
#endif // ESP32
|
||||
|
Loading…
x
Reference in New Issue
Block a user