Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit b19b244

Browse files
committedApr 12, 2021
Serial::end hang
1 parent 371f382 commit b19b244

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed
 

‎cores/esp32/HardwareSerial.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,7 @@ void HardwareSerial::end()
114114
if(uartGetDebug() == _uart_nr) {
115115
uartSetDebug(0);
116116
}
117+
delay(10);
117118
log_v("pins %d %d",_tx_pin, _rx_pin);
118119
uartEnd(_uart, _tx_pin, _rx_pin);
119120
_uart = 0;

0 commit comments

Comments
 (0)
Please sign in to comment.