mirror of
https://github.com/MarlinFirmware/Marlin.git
synced 2025-01-31 14:12:52 +00:00
parent
c4b8339b84
commit
78c7fedcea
1 changed files with 2 additions and 2 deletions
|
@ -115,8 +115,8 @@ typedef Servo hal_servo_t;
|
|||
//
|
||||
// Interrupts
|
||||
//
|
||||
#define sei() noInterrupts()
|
||||
#define cli() interrupts()
|
||||
#define sei() interrupts()
|
||||
#define cli() noInterrupts()
|
||||
|
||||
#define CRITICAL_SECTION_START() const bool _irqon = hal.isr_state(); hal.isr_off()
|
||||
#define CRITICAL_SECTION_END() if (_irqon) hal.isr_on()
|
||||
|
|
Loading…
Reference in a new issue