1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-06-16 11:21:18 +03:00

uart: fix wdt input overrun (#4536)

* uart: fix wdt on uart input overrun, expose in HardwareSerial::hasOverrun()
This commit is contained in:
david gauchard
2018-03-21 13:28:34 +01:00
committed by GitHub
parent 6d3f0b4023
commit 6580bf3477
3 changed files with 36 additions and 0 deletions

View File

@ -136,6 +136,8 @@ size_t uart_tx_free(uart_t* uart);
void uart_wait_tx_empty(uart_t* uart);
void uart_flush(uart_t* uart);
bool uart_has_overrun (uart_t* uart); // returns then clear overrun flag
void uart_set_debug(int uart_nr);
int uart_get_debug();