1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-04-19 23:22:16 +03:00

not keep freed pointer of uart handler

This commit is contained in:
Markus Sattler 2016-02-22 18:24:10 +01:00
parent c33535c3db
commit 28e6f33142

View File

@ -56,6 +56,7 @@ void HardwareSerial::end()
} }
uart_uninit(_uart); uart_uninit(_uart);
_uart = NULL;
} }
void HardwareSerial::swap(uint8_t tx_pin) void HardwareSerial::swap(uint8_t tx_pin)