1
0
forked from me/IronOS

Better colour

This commit is contained in:
Ben V. Brown
2021-05-03 22:05:38 +10:00
parent e6427f1d27
commit 5b4ae22f12

View File

@@ -451,13 +451,12 @@ void setStatusLED(const enum StatusLED state) {
WS2812::led_set_color(0, ((HAL_GetTick() / 10) % 192) + 64, 0,
0); //Red fade
}
break;
case LED_HOT:
WS2812::led_set_color(0, 0xFF, 0, 0); //red
break;
case LED_COOLING_STILL_HOT:
WS2812::led_set_color(0, 0xFF, 0xFF, 0xFF); //white
WS2812::led_set_color(0, 0xFF, 0x8C, 0x00); //Orange
break;
}
WS2812::led_update();