mirror of
				https://github.com/esphome/esphome.git
				synced 2025-10-30 22:53:59 +00: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 | #ifdef USE_LOGGER_USB_CDC | ||||||
|       case UART_SELECTION_USB_CDC: |       case UART_SELECTION_USB_CDC: | ||||||
|         this->hw_serial_ = &Serial; |         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_); |         Serial.begin(this->baud_rate_); | ||||||
|         break; |         break; | ||||||
| #endif | #endif | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user