Whitespace cleanup

This commit is contained in:
Scott Lahteine authored and Scott Lahteine committed 2021-04-29 08:44:58 -05:00
1 parent a1860ed680
commit 9172271c7f
7 files changed
+227 -225

No files matched your search

+2 -2
View File
@@ -183,14 +183,14 @@ void LEDLights::set_color(const LEDColor &incol
: neo2.Color(incol.r, incol.g, incol.b, incol.w);
neo2.set_brightness(incol.i);
neo2.set_color(neocolor);
#if ENABLED(LED_CONTROL_MENU)
// Don't update the color when OFF
lights_on = !incol.is_off();
if (lights_on) color = incol;
#endif
}
#if ENABLED(LED_CONTROL_MENU)
void LEDLights2::toggle() { if (lights_on) set_off(); else update(); }
#endif