summaryrefslogtreecommitdiffstatshomepage
path: root/esp8266/uart.h
diff options
context:
space:
mode:
Diffstat (limited to 'esp8266/uart.h')
-rw-r--r--esp8266/uart.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/esp8266/uart.h b/esp8266/uart.h
index 2f762db5a2..8e09beea58 100644
--- a/esp8266/uart.h
+++ b/esp8266/uart.h
@@ -91,6 +91,8 @@ typedef struct {
void uart_init(UartBautRate uart0_br, UartBautRate uart1_br);
int uart0_rx(void);
+bool uart_rx_wait(uint32_t timeout_us);
+int uart_rx_char(void);
void uart_tx_one_char(uint8 uart, uint8 TxChar);
void uart_flush(uint8 uart);
void uart_os_config(int uart);