mirror of
https://github.com/esp8266/Arduino.git
synced 2025-07-11 15:22:13 +03:00
fix problems with serial and cbuf (some times freeze on high load)
This commit is contained in:
@ -608,6 +608,7 @@ size_t HardwareSerial::write(uint8_t c) {
|
||||
|
||||
while(_tx_buffer->room() == 0) {
|
||||
yield();
|
||||
uart_arm_tx_interrupt(_uart);
|
||||
}
|
||||
|
||||
_tx_buffer->write(c);
|
||||
|
Reference in New Issue
Block a user