Patch to init W with RGBW_LED
This commit is contained in:
parent
3e079660b0
commit
19d0c6a0c0
1 changed files with 4 additions and 1 deletions
|
@ -11451,10 +11451,13 @@ void setup() {
|
|||
OUT_WRITE(STAT_LED_BLUE_PIN, LOW); // turn it off
|
||||
#endif
|
||||
|
||||
#if ENABLED(RGB_LED)
|
||||
#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
|
||||
|
||||
lcd_init();
|
||||
|
|
Reference in a new issue