From 021ca1972bcffe6b65526fab49bfea803270ecb8 Mon Sep 17 00:00:00 2001 From: Markus Sattler Date: Wed, 22 Apr 2015 16:44:30 +0200 Subject: [PATCH] fix bug #98 --- cores/esp8266/HardwareSerial.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cores/esp8266/HardwareSerial.cpp b/cores/esp8266/HardwareSerial.cpp index 17bf697463..27cc35e964 100644 --- a/cores/esp8266/HardwareSerial.cpp +++ b/cores/esp8266/HardwareSerial.cpp @@ -453,7 +453,7 @@ void ICACHE_FLASH_ATTR uart1_write_char(char c) { } } -static UARTnr_t s_uart_debug_nr = UART_NO; +static UARTnr_t s_uart_debug_nr = UART0; void ICACHE_FLASH_ATTR uart_set_debug(UARTnr_t uart_nr) { s_uart_debug_nr = uart_nr; switch(s_uart_debug_nr) {