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:
@ -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)
|
||||||
|
Reference in New Issue
Block a user