From fbf88192536c09ed4f325fe21f6f7dd814c079bd Mon Sep 17 00:00:00 2001 From: Scott Lahteine Date: Fri, 16 Feb 2018 22:25:57 -0600 Subject: [PATCH] Make safe_delay available for neopixel startup test Fix #9033 --- Marlin/neopixel.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Marlin/neopixel.cpp b/Marlin/neopixel.cpp index 8d8a5445e8..8daca3badf 100644 --- a/Marlin/neopixel.cpp +++ b/Marlin/neopixel.cpp @@ -30,6 +30,10 @@ #include "neopixel.h" +#if ENABLED(NEOPIXEL_STARTUP_TEST) + #include "utility.h" +#endif + Adafruit_NeoPixel pixels(NEOPIXEL_PIXELS, NEOPIXEL_PIN, NEOPIXEL_TYPE + NEO_KHZ800); void set_neopixel_color(const uint32_t color) {