mirror of https://github.com/arendst/Tasmota.git
Fix ESP32 serial issues
This commit is contained in:
parent
57a3e7f88c
commit
404e34df36
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue