✨ Configurable FREEZE pin state (#23948)
This commit is contained in:
@@ -476,7 +476,7 @@ inline void manage_inactivity(const bool no_stepper_sleep=false) {
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if HAS_FREEZE_PIN
|
#if HAS_FREEZE_PIN
|
||||||
Stepper::frozen = READ(FREEZE_PIN) ^ DISABLED(INVERT_FREEZE_PIN);
|
stepper.frozen = READ(FREEZE_PIN) == FREEZE_STATE;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if HAS_HOME
|
#if HAS_HOME
|
||||||
|
Reference in New Issue
Block a user