Procházet zdrojové kódy

🐛 Fix Due cli/sei (#24182)

Followup to #23357
Marcio T před 2 roky
rodič
revize
e092a02d77
No account linked to committer's email address
1 změnil soubory, kde provedl 2 přidání a 2 odebrání
  1. 2
    2
      Marlin/src/HAL/DUE/HAL.h

+ 2
- 2
Marlin/src/HAL/DUE/HAL.h Zobrazit soubor

@@ -115,8 +115,8 @@ typedef Servo hal_servo_t;
115 115
 //
116 116
 // Interrupts
117 117
 //
118
-#define sei() noInterrupts()
119
-#define cli() interrupts()
118
+#define sei() interrupts()
119
+#define cli() noInterrupts()
120 120
 
121 121
 #define CRITICAL_SECTION_START()  const bool _irqon = hal.isr_state(); hal.isr_off()
122 122
 #define CRITICAL_SECTION_END()    if (_irqon) hal.isr_on()

Loading…
Zrušit
Uložit