Browse Source

Fix stuck CHDK pin as suggested in #6041

pull/1/head
Scott Lahteine 8 years ago
committed by GitHub
parent
commit
23f1cfb46f
  1. 2
      Marlin/Marlin_main.cpp

2
Marlin/Marlin_main.cpp

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

Loading…
Cancel
Save