mirror of
https://github.com/esphome/esphome.git
synced 2025-09-02 03:12:20 +01:00
[logger] remove unnecessary call to setTxTimeoutMs (#9854)
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user