Browse Source

Fix LPC176x RGB NEOPIXEL startup (#18380)

ellensp 5 years ago
parent
commit
07966ea82b
No account linked to committer's email address
1 changed files with 0 additions and 2 deletions
  1. 0
    2
      Marlin/src/feature/leds/neopixel.cpp

+ 0
- 2
Marlin/src/feature/leds/neopixel.cpp View File

@@ -71,13 +71,11 @@ void Marlin_NeoPixel::set_color_startup(const uint32_t color) {
71 71
 }
72 72
 
73 73
 void Marlin_NeoPixel::init() {
74
-  SET_OUTPUT(NEOPIXEL_PIN);
75 74
   set_brightness(NEOPIXEL_BRIGHTNESS); // 0 - 255 range
76 75
   begin();
77 76
   show();  // initialize to all off
78 77
 
79 78
   #if ENABLED(NEOPIXEL_STARTUP_TEST)
80
-    safe_delay(1000);
81 79
     set_color_startup(adaneo1.Color(255, 0, 0, 0));  // red
82 80
     safe_delay(1000);
83 81
     set_color_startup(adaneo1.Color(0, 255, 0, 0));  // green

Loading…
Cancel
Save