Skip to content

Commit

Permalink
FIX: Allow use of UART0 with enabled USB_CDC_CONSOLE (#21496)
Browse files Browse the repository at this point in the history
Co-authored-by: Roland Praml <roland@DESKTOP-MKLGCJR>
  • Loading branch information
rPraml and Roland Praml authored Jun 22, 2024
1 parent 904fb01 commit f3dcbdc
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tasmota/tasmota_support/support.ino
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit f3dcbdc

Please sign in to comment.