diff options
Diffstat (limited to 'esp8266/uart.h')
-rw-r--r-- | esp8266/uart.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/esp8266/uart.h b/esp8266/uart.h index 2b97683ff8..f6850c42db 100644 --- a/esp8266/uart.h +++ b/esp8266/uart.h @@ -99,5 +99,8 @@ void uart_tx_one_char(uint8 uart, uint8 TxChar); void uart_flush(uint8 uart); void uart_os_config(int uart); void uart_setup(uint8 uart); +// check status of rx/tx +int uart_rx_any(uint8 uart); +int uart_tx_any_room(uint8 uart); #endif // _INCLUDED_UART_H_ |