1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-07-21 21:22:31 +03:00

Merge pull request #1666 from Links2004/master

not keep freed pointer of uart handler
This commit is contained in:
Markus
2016-02-22 19:04:25 +01:00

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)