Skip to content

Commit b2d4169

Browse files
ficetoficeto
ficeto
authored and
ficeto
committed
Revert "disable debug on Serial.end() if debug on this interface."
This reverts commit 28a868d.
1 parent 7ae56fe commit b2d4169

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

hardware/esp8266com/esp8266/cores/esp8266/HardwareSerial.cpp

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -510,9 +510,6 @@ void ICACHE_FLASH_ATTR HardwareSerial::begin(unsigned long baud, byte config) {
510510
}
511511

512512
void ICACHE_FLASH_ATTR HardwareSerial::end() {
513-
if(uart_get_debug() == _uart_nr) {
514-
uart_set_debug(UART_NO);
515-
}
516513
uart_uninit(_uart);
517514
delete _rx_buffer;
518515
delete _tx_buffer;

0 commit comments

Comments
 (0)