From db86766b366310c3c4b9df919bcf8acf7f11cf33 Mon Sep 17 00:00:00 2001 From: Markus Sattler Date: Wed, 22 Apr 2015 16:44:30 +0200 Subject: [PATCH] fix bug #98 --- hardware/esp8266com/esp8266/cores/esp8266/HardwareSerial.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hardware/esp8266com/esp8266/cores/esp8266/HardwareSerial.cpp b/hardware/esp8266com/esp8266/cores/esp8266/HardwareSerial.cpp index 17bf69746..27cc35e96 100644 --- a/hardware/esp8266com/esp8266/cores/esp8266/HardwareSerial.cpp +++ b/hardware/esp8266com/esp8266/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) {