Преглед изворни кода

Fix stuck CHDK pin as suggested in #6041

Scott Lahteine пре 8 година
родитељ
комит
23f1cfb46f
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1
    1
      Marlin/Marlin_main.cpp

+ 1
- 1
Marlin/Marlin_main.cpp Прегледај датотеку

@@ -10329,7 +10329,7 @@ void manage_inactivity(bool ignore_stepper_queue/*=false*/) {
10329 10329
   }
10330 10330
 
10331 10331
   #ifdef CHDK // Check if pin should be set to LOW after M240 set it to HIGH
10332
-    if (chdkActive && PENDING(ms, chdkHigh + CHDK_DELAY)) {
10332
+    if (chdkActive && ELAPSED(ms, chdkHigh + CHDK_DELAY)) {
10333 10333
       chdkActive = false;
10334 10334
       WRITE(CHDK, LOW);
10335 10335
     }

Loading…
Откажи
Сачувај