mirror of
https://github.com/MarlinFirmware/Marlin.git
synced 2025-01-31 14:12:52 +00:00
✨ Configurable FREEZE pin state (#23948)
This commit is contained in:
parent
20b5615305
commit
692f42ee7d
1 changed files with 1 additions and 1 deletions
|
@ -476,7 +476,7 @@ inline void manage_inactivity(const bool no_stepper_sleep=false) {
|
|||
#endif
|
||||
|
||||
#if HAS_FREEZE_PIN
|
||||
Stepper::frozen = READ(FREEZE_PIN) ^ DISABLED(INVERT_FREEZE_PIN);
|
||||
stepper.frozen = READ(FREEZE_PIN) == FREEZE_STATE;
|
||||
#endif
|
||||
|
||||
#if HAS_HOME
|
||||
|
|
Loading…
Reference in a new issue