From b95a1b94cbcfc35d10d21f17dc3a3d7ddcfaa5b9 Mon Sep 17 00:00:00 2001 From: Roxy-3D Date: Thu, 26 Apr 2018 14:32:24 -0500 Subject: [PATCH] make Max7219 usable at ISR time --- Marlin/Max7219_Debug_LEDs.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Marlin/Max7219_Debug_LEDs.cpp b/Marlin/Max7219_Debug_LEDs.cpp index 43f0a2a975..102ec21cb7 100644 --- a/Marlin/Max7219_Debug_LEDs.cpp +++ b/Marlin/Max7219_Debug_LEDs.cpp @@ -64,7 +64,7 @@ static uint8_t LEDs[8] = { 0 }; #ifdef CPU_32_BIT - #define MS_DELAY() delayMicroseconds(7) // 32-bit processors need a delay to stabilize the signal + void MS_DELAY() { DELAY_1US; } // 32-bit processors need a delay to stabilize the signal #else #define MS_DELAY() DELAY_3_NOP #endif