Fix possible serial watchdogs

This commit is contained in:
Theo Arends 2022-10-31 11:25:00 +01:00
parent 79536d8714
commit c351c62baf
1 changed files with 1 additions and 1 deletions

View File

@ -95,7 +95,7 @@ TasmotaSerial::TasmotaSerial(int receive_pin, int transmit_pin, int hardware_fal
void TasmotaSerial::end(bool turnOffDebug) {
#ifdef ESP8266
if (m_hardserial) {
Serial.end();
// Serial.end(); // Keep active for logging
} else {
if (m_rx_pin > -1) {
detachInterrupt(m_rx_pin);