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
This commit is contained in:
rjwats 2020-05-31 19:40:29 +01:00 committed by GitHub
parent 555b3efd8d
commit c1fdb9b485
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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);
}