1
0
forked from me/IronOS

Fix build issues

This commit is contained in:
Ben V. Brown
2021-05-03 22:39:57 +10:00
parent ee12c99d9e
commit 64cb9c1158
4 changed files with 14 additions and 2 deletions

View File

@@ -415,6 +415,7 @@ void setStatusLED(const enum StatusLED state) {
static enum StatusLED lastState = LED_UNKNOWN;
if (lastState != state || state == LED_HEATING) {
switch (state) {
default:
case LED_UNKNOWN:
case LED_OFF:
WS2812::led_set_color(0, 0, 0, 0);