[logger] remove unnecessary call to setTxTimeoutMs (#9854)

This commit is contained in:
TJ Horner 2025-07-23 19:51:47 -07:00 committed by GitHub
parent cc187ef276
commit 108e447072
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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