diff options
author | Damien George <damien.p.george@gmail.com> | 2016-04-06 00:12:58 +0300 |
---|---|---|
committer | Paul Sokolovsky <pfalcon@users.sourceforge.net> | 2016-04-06 00:12:58 +0300 |
commit | 96eca22322e45aa8b6e7e611eabe4e5c6fb93c90 (patch) | |
tree | 406a1e68c15cbf04eadfe120de23ec800fd4d887 /esp8266/uart.h | |
parent | e6a4d4e23c5e3d31436d3cebfabc894d5772c0d8 (diff) | |
download | micropython-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.h | 1 |
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_ |