mirror of
https://github.com/MarlinFirmware/Marlin.git
synced 2024-11-27 13:56:24 +00:00
make Max7219 usable at ISR time
This commit is contained in:
parent
cb02b6ec60
commit
b95a1b94cb
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user