Marcio T 3 лет назад
Родитель
Сommit
e092a02d77
Аккаунт пользователя с таким Email не найден
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()

Загрузка…
Отмена
Сохранить