mirror of
https://github.com/MarlinFirmware/Marlin.git
synced 2025-01-31 22:20:56 +00:00
parent
66d94aad21
commit
e092a02d77
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