Unverified Commit cd409b21 authored by Rodrigo Garcia's avatar Rodrigo Garcia Committed by GitHub

removes delay(10) from HardwareSerial::end() (#8634)

parent e079e228
......@@ -446,7 +446,7 @@ void HardwareSerial::end(bool fullyTerminate)
_rxPin = _txPin = _ctsPin = _rtsPin = -1;
}
delay(10);
uartEnd(_uart);
_uart = 0;
_destroyEventTask();
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment