Pārlūkot izejas kodu

🐛 Fix Due cli/sei (#24182)

Followup to #23357
Marcio T 2 gadus atpakaļ
vecāks
revīzija
e092a02d77
Revīzijas autora e-pasta adrese nav piesaistīta nevienam kontam
1 mainītis faili ar 2 papildinājumiem un 2 dzēšanām
  1. 2
    2
      Marlin/src/HAL/DUE/HAL.h

+ 2
- 2
Marlin/src/HAL/DUE/HAL.h Parādīt failu

@@ -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()

Notiek ielāde…
Atcelt
Saglabāt