Fix stuck CHDK pin as suggested in #6041
This commit is contained in:
1 parent
0b22069e82
commit
23f1cfb46f
1 file changed
+1
-1
@@ -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);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user