From 404e34df36e68955b1422716f95305f183346aa1 Mon Sep 17 00:00:00 2001 From: Theo Arends <11044339+arendst@users.noreply.github.com> Date: Sat, 31 Oct 2020 17:53:12 +0100 Subject: [PATCH] Fix ESP32 serial issues --- tasmota/support.ino | 1 + 1 file changed, 1 insertion(+) diff --git a/tasmota/support.ino b/tasmota/support.ino index e2478f11c..bcaac70c4 100644 --- a/tasmota/support.ino +++ b/tasmota/support.ino @@ -916,6 +916,7 @@ void SetSerialBegin(void) { #ifdef ESP8266 Serial.begin(TasmotaGlobal.baudrate, (SerialConfig)pgm_read_byte(kTasmotaSerialConfig + Settings.serial_config)); #else // ESP32 + delay(10); // Allow time to cleanup queues - if not used hangs ESP32 Serial.end(); delay(10); // Allow time to cleanup queues - if not used hangs ESP32 uint32_t config = pgm_read_dword(kTasmotaSerialConfig + Settings.serial_config);