From 96eca22322e45aa8b6e7e611eabe4e5c6fb93c90 Mon Sep 17 00:00:00 2001 From: Damien George Date: Wed, 6 Apr 2016 00:12:58 +0300 Subject: 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. --- esp8266/uart.h | 1 + 1 file changed, 1 insertion(+) (limited to 'esp8266/uart.h') 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_ -- cgit v1.2.3