mirror of
https://github.com/arendst/Tasmota.git
synced 2025-07-26 20:26:32 +00:00
Fix possible serial watchdogs
This commit is contained in:
parent
79536d8714
commit
c351c62baf
@ -95,7 +95,7 @@ TasmotaSerial::TasmotaSerial(int receive_pin, int transmit_pin, int hardware_fal
|
|||||||
void TasmotaSerial::end(bool turnOffDebug) {
|
void TasmotaSerial::end(bool turnOffDebug) {
|
||||||
#ifdef ESP8266
|
#ifdef ESP8266
|
||||||
if (m_hardserial) {
|
if (m_hardserial) {
|
||||||
Serial.end();
|
// Serial.end(); // Keep active for logging
|
||||||
} else {
|
} else {
|
||||||
if (m_rx_pin > -1) {
|
if (m_rx_pin > -1) {
|
||||||
detachInterrupt(m_rx_pin);
|
detachInterrupt(m_rx_pin);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user