mirror of
https://github.com/esp8266/Arduino.git
synced 2025-06-07 16:23:38 +03:00
Revert "disable debug on Serial.end() if debug on this interface."
This reverts commit 28a868d6dd5e6e92fac5998f53dcd2256e9292f7.
This commit is contained in:
parent
bc3d847c4c
commit
bbba691cac
@ -510,9 +510,6 @@ void ICACHE_FLASH_ATTR HardwareSerial::begin(unsigned long baud, byte config) {
|
||||
}
|
||||
|
||||
void ICACHE_FLASH_ATTR HardwareSerial::end() {
|
||||
if(uart_get_debug() == _uart_nr) {
|
||||
uart_set_debug(UART_NO);
|
||||
}
|
||||
uart_uninit(_uart);
|
||||
delete _rx_buffer;
|
||||
delete _tx_buffer;
|
||||
|
Loading…
x
Reference in New Issue
Block a user