diff options
author | Paul Sokolovsky <pfalcon@users.sourceforge.net> | 2016-03-29 21:10:10 +0300 |
---|---|---|
committer | Paul Sokolovsky <pfalcon@users.sourceforge.net> | 2016-03-29 21:10:10 +0300 |
commit | c4506ed869ff255993c8cae3ca847689c8c42236 (patch) | |
tree | 74c791e968dc5fbe76b74a0ba4ea2ecef3eb8ee8 /esp8266/uart.c | |
parent | 402a743821e99d99e6118669ec162b902b29fcd5 (diff) | |
download | micropython-c4506ed869ff255993c8cae3ca847689c8c42236.tar.gz micropython-c4506ed869ff255993c8cae3ca847689c8c42236.zip |
esp8266: Let esp8266 "os" messages go to standard (REPL) UART.
That's definitely helpful for debugging.
Diffstat (limited to 'esp8266/uart.c')
-rw-r--r-- | esp8266/uart.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/esp8266/uart.c b/esp8266/uart.c index 942c397e90..4f45a952ba 100644 --- a/esp8266/uart.c +++ b/esp8266/uart.c @@ -205,7 +205,7 @@ void ICACHE_FLASH_ATTR uart_init(UartBautRate uart0_br, UartBautRate uart1_br) { uart_config(UART1); ETS_UART_INTR_ENABLE(); - // install uart1 putc callback + // install handler for "os" messages os_install_putc1((void *)uart_os_write_char); } |