Browse Source

Patch to init W with RGBW_LED

Scott Lahteine 8 years ago
parent
commit
19d0c6a0c0
1 changed files with 4 additions and 1 deletions
  1. 4
    1
      Marlin/Marlin_main.cpp

+ 4
- 1
Marlin/Marlin_main.cpp View File

@@ -11451,10 +11451,13 @@ void setup() {
11451 11451
     OUT_WRITE(STAT_LED_BLUE_PIN, LOW); // turn it off
11452 11452
   #endif
11453 11453
 
11454
-  #if ENABLED(RGB_LED)
11454
+  #if ENABLED(RGB_LED) || ENABLED(RGBW_LED)
11455 11455
     SET_OUTPUT(RGB_LED_R_PIN);
11456 11456
     SET_OUTPUT(RGB_LED_G_PIN);
11457 11457
     SET_OUTPUT(RGB_LED_B_PIN);
11458
+    #if ENABLED(RGBW_LED)
11459
+      SET_OUTPUT(RGB_LED_W_PIN);
11460
+    #endif
11458 11461
   #endif
11459 11462
 
11460 11463
   lcd_init();

Loading…
Cancel
Save