summaryrefslogtreecommitdiffstatshomepage
path: root/esp8266/uart.h
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2016-04-06 00:12:58 +0300
committerPaul Sokolovsky <pfalcon@users.sourceforge.net>2016-04-06 00:12:58 +0300
commit96eca22322e45aa8b6e7e611eabe4e5c6fb93c90 (patch)
tree406a1e68c15cbf04eadfe120de23ec800fd4d887 /esp8266/uart.h
parente6a4d4e23c5e3d31436d3cebfabc894d5772c0d8 (diff)
downloadmicropython-96eca22322e45aa8b6e7e611eabe4e5c6fb93c90.tar.gz
micropython-96eca22322e45aa8b6e7e611eabe4e5c6fb93c90.zip
esp8266: Make destination for vendor OS debug output soft-configurable.
Use esp.osdebug(None) to disable, or esp.osdebug(uart_id) to send output to a UART.
Diffstat (limited to 'esp8266/uart.h')
-rw-r--r--esp8266/uart.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/esp8266/uart.h b/esp8266/uart.h
index ed0dcfb445..2f762db5a2 100644
--- a/esp8266/uart.h
+++ b/esp8266/uart.h
@@ -93,5 +93,6 @@ 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);
+void uart_os_config(int uart);
#endif // _INCLUDED_UART_H_