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:
parent
c33535c3db
commit
28e6f33142
@ -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)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user