Small LED code reorganization (#12929)
This commit is contained in:
committed by
Scott Lahteine
parent
e6805582a6
commit
7bb5d4bfe8
@ -860,16 +860,10 @@ void setup() {
|
||||
leds.setup();
|
||||
#endif
|
||||
|
||||
#if ENABLED(RGB_LED) || ENABLED(RGBW_LED)
|
||||
SET_OUTPUT(RGB_LED_R_PIN);
|
||||
SET_OUTPUT(RGB_LED_G_PIN);
|
||||
SET_OUTPUT(RGB_LED_B_PIN);
|
||||
#if ENABLED(RGBW_LED)
|
||||
SET_OUTPUT(RGB_LED_W_PIN);
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#if HAS_CASE_LIGHT
|
||||
#if DISABLED(CASE_LIGHT_USE_NEOPIXEL)
|
||||
SET_OUTPUT(CASE_LIGHT_PIN);
|
||||
#endif
|
||||
update_case_light();
|
||||
#endif
|
||||
|
||||
|
Reference in New Issue
Block a user