Skip to content

Commit c1fdb9b

Browse files
authored
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
1 parent 555b3ef commit c1fdb9b

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/LightStateService.cpp

-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,6 @@ void LightStateService::begin() {
4040
}
4141

4242
void LightStateService::onConfigUpdated() {
43-
Serial.printf_P(PSTR("The light is now: %s\r\n"), _state.ledOn ? "on" : "off");
4443
digitalWrite(BLINK_LED, _state.ledOn ? LED_ON : LED_OFF);
4544
}
4645

0 commit comments

Comments
 (0)