commit | 96eca22322e45aa8b6e7e611eabe4e5c6fb93c90 | [log] [tgz] |
---|---|---|
author | Damien George <damien.p.george@gmail.com> | Wed Apr 06 00:12:58 2016 +0300 |
committer | Paul Sokolovsky <pfalcon@users.sourceforge.net> | Wed Apr 06 00:12:58 2016 +0300 |
tree | 406a1e68c15cbf04eadfe120de23ec800fd4d887 | |
parent | e6a4d4e23c5e3d31436d3cebfabc894d5772c0d8 [diff] [blame] |
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.
diff --git a/esp8266/uart.h b/esp8266/uart.h index ed0dcfb..2f762db 100644 --- a/esp8266/uart.h +++ b/esp8266/uart.h
@@ -93,5 +93,6 @@ 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_