Browse Source

delayMicroseconds() cannot be called in critical section (#10535)

on the STM32 platform
pull/1/head
Karl Andersson 6 years ago
committed by Roxy-3D
parent
commit
58ca3be1ec
  1. 2
      Marlin/src/feature/Max7219_Debug_LEDs.cpp

2
Marlin/src/feature/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

Loading…
Cancel
Save