Browse Source

Tweak neopixel self-test

Scott Lahteine 7 years ago
parent
commit
2296d98845
1 changed files with 4 additions and 4 deletions
  1. 4
    4
      Marlin/Marlin_main.cpp

+ 4
- 4
Marlin/Marlin_main.cpp View File

@@ -1013,13 +1013,13 @@ void servo_init() {
1013 1013
       pixels.show(); // initialize to all off
1014 1014
 
1015 1015
       #if ENABLED(NEOPIXEL_STARTUP_TEST)
1016
-        delay(2000);
1016
+        safe_delay(1000);
1017 1017
         set_neopixel_color(pixels.Color(255, 0, 0, 0));  // red
1018
-        delay(2000);
1018
+        safe_delay(1000);
1019 1019
         set_neopixel_color(pixels.Color(0, 255, 0, 0));  // green
1020
-        delay(2000);
1020
+        safe_delay(1000);
1021 1021
         set_neopixel_color(pixels.Color(0, 0, 255, 0));  // blue
1022
-        delay(2000);
1022
+        safe_delay(1000);
1023 1023
       #endif
1024 1024
       set_neopixel_color(pixels.Color(NEO_WHITE));       // white
1025 1025
     }

Loading…
Cancel
Save