Skip to content

Commit cd409b2

Browse files
authored
removes delay(10) from HardwareSerial::end() (espressif#8634)
1 parent e079e22 commit cd409b2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: cores/esp32/HardwareSerial.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -446,7 +446,7 @@ void HardwareSerial::end(bool fullyTerminate)
446446
_rxPin = _txPin = _ctsPin = _rtsPin = -1;
447447

448448
}
449-
delay(10);
449+
450450
uartEnd(_uart);
451451
_uart = 0;
452452
_destroyEventTask();

0 commit comments

Comments
 (0)