From c1fdb9b485bbf707bb528a1c25b88e3e8be1b10d Mon Sep 17 00:00:00 2001 From: rjwats Date: Sun, 31 May 2020 19:40:29 +0100 Subject: [PATCH] Resolve issue causing demo project to crash on esp8266 (#142) Exception 3, Exception 9 and Exception 28 are thrown sporadically if printing to serial during WebSocket RX Believed to be due to serial buffer causing RX to block, investigating as part of #123 --- src/LightStateService.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/src/LightStateService.cpp b/src/LightStateService.cpp index 7c70754..e0d3d7a 100644 --- a/src/LightStateService.cpp +++ b/src/LightStateService.cpp @@ -40,7 +40,6 @@ void LightStateService::begin() { } void LightStateService::onConfigUpdated() { - Serial.printf_P(PSTR("The light is now: %s\r\n"), _state.ledOn ? "on" : "off"); digitalWrite(BLINK_LED, _state.ledOn ? LED_ON : LED_OFF); }