소스 검색

🐛 Fix Due cli/sei (#24182)

Followup to #23357
Marcio T 2 년 전
부모
커밋
e092a02d77
No account linked to committer's email address
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2
    2
      Marlin/src/HAL/DUE/HAL.h

+ 2
- 2
Marlin/src/HAL/DUE/HAL.h 파일 보기

@@ -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…
취소
저장