mirror of
https://github.com/MarlinFirmware/Marlin.git
synced 2025-03-15 02:36:19 +00:00
parent
de87f5309d
commit
40ed3c5f89
1 changed files with 1 additions and 1 deletions
|
@ -177,7 +177,7 @@ typedef int8_t pin_t;
|
|||
// ------------------------
|
||||
|
||||
#define CRITICAL_SECTION_START() const bool irqon = !__get_primask(); (void)__iCliRetVal()
|
||||
#define CRITICAL_SECTION_END() if (!primask) (void)__iSeiRetVal()
|
||||
#define CRITICAL_SECTION_END() if (!irqon) (void)__iSeiRetVal()
|
||||
#define cli() noInterrupts()
|
||||
#define sei() interrupts()
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue