mirror of
https://github.com/esphome/esphome.git
synced 2025-07-28 14:16:40 +00:00
[logger] remove unnecessary call to setTxTimeoutMs (#9854)
This commit is contained in:
parent
cc187ef276
commit
108e447072
@ -119,9 +119,6 @@ void Logger::pre_setup() {
|
||||
#ifdef USE_LOGGER_USB_CDC
|
||||
case UART_SELECTION_USB_CDC:
|
||||
this->hw_serial_ = &Serial;
|
||||
#if ARDUINO_USB_CDC_ON_BOOT
|
||||
Serial.setTxTimeoutMs(0); // workaround for 2.0.9 crash when there's no data connection
|
||||
#endif
|
||||
Serial.begin(this->baud_rate_);
|
||||
break;
|
||||
#endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user