Просмотр исходного кода

Decrease KILL_DELAY

Users hat to press kill-button for unexpexted lon times.
See #1593
AnHardt 10 лет назад
Родитель
Сommit
d1658eebfc
1 измененных файлов: 2 добавлений и 2 удалений
  1. 2
    2
      Marlin/Marlin_main.cpp

+ 2
- 2
Marlin/Marlin_main.cpp Просмотреть файл

@@ -5574,7 +5574,7 @@ void manage_inactivity(bool ignore_stepper_queue/*=false*/) //default argument s
5574 5574
   
5575 5575
 #if defined(KILL_PIN) && KILL_PIN > -1
5576 5576
   static int killCount = 0;   // make the inactivity button a bit less responsive
5577
-   const int KILL_DELAY = 10000;
5577
+   const int KILL_DELAY = 750;
5578 5578
 #endif
5579 5579
 
5580 5580
 #if defined(FILRUNOUT_PIN) && FILRUNOUT_PIN > -1
@@ -5585,7 +5585,7 @@ void manage_inactivity(bool ignore_stepper_queue/*=false*/) //default argument s
5585 5585
 
5586 5586
 #if defined(HOME_PIN) && HOME_PIN > -1
5587 5587
    static int homeDebounceCount = 0;   // poor man's debouncing count
5588
-   const int HOME_DEBOUNCE_DELAY = 10000;
5588
+   const int HOME_DEBOUNCE_DELAY = 750;
5589 5589
 #endif
5590 5590
    
5591 5591
   

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