diff options
author | Paul Sokolovsky <pfalcon@users.sourceforge.net> | 2016-01-03 07:33:42 +0200 |
---|---|---|
committer | Paul Sokolovsky <pfalcon@users.sourceforge.net> | 2016-03-05 22:13:26 +0200 |
commit | d9d4a72679eec681e213d4a81017abc0000e6220 (patch) | |
tree | 232228bdb44c71006109a2f27f4bcb4b1c1db35c /esp8266/uart.h | |
parent | d3a4d39687f941d12d727b80c79dd98ebae03674 (diff) | |
download | micropython-d9d4a72679eec681e213d4a81017abc0000e6220.tar.gz micropython-d9d4a72679eec681e213d4a81017abc0000e6220.zip |
esp8266/uart: Add uart_flush() function.
Diffstat (limited to 'esp8266/uart.h')
-rw-r--r-- | esp8266/uart.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/esp8266/uart.h b/esp8266/uart.h index ce1438baf3..ed0dcfb445 100644 --- a/esp8266/uart.h +++ b/esp8266/uart.h @@ -92,5 +92,6 @@ typedef struct { void uart_init(UartBautRate uart0_br, UartBautRate uart1_br); int uart0_rx(void); void uart_tx_one_char(uint8 uart, uint8 TxChar); +void uart_flush(uint8 uart); #endif // _INCLUDED_UART_H_ |