Minor cleanup w/r/t LEDs

This commit is contained in:
Scott Lahteine
2020-08-23 23:57:51 -05:00
parent 4b124352ef
commit c488070859
16 changed files with 34 additions and 43 deletions

View File

@@ -129,12 +129,9 @@ void LEDLights::set_color(const LEDColor &incol
#endif
#if ENABLED(PCA9632)
// Update I2C LED driver
pca9632_set_led_color(incol);
#endif
TERN_(PCA9533, PCA9533_setColor(incol.r, incol.g, incol.b));
// Update I2C LED driver
TERN_(PCA9632, PCA9632_set_led_color(incol));
TERN_(PCA9533, PCA9533_set_rgb(incol.r, incol.g, incol.b));
#if EITHER(LED_CONTROL_MENU, PRINTER_EVENT_LEDS)
// Don't update the color when OFF