Browse Source

✨ Configurable FREEZE pin state (#23948)

Giuliano Zaro 2 years ago
parent
commit
692f42ee7d
No account linked to committer's email address
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      Marlin/src/MarlinCore.cpp

+ 1
- 1
Marlin/src/MarlinCore.cpp View File

476
   #endif
476
   #endif
477
 
477
 
478
   #if HAS_FREEZE_PIN
478
   #if HAS_FREEZE_PIN
479
-    Stepper::frozen = READ(FREEZE_PIN) ^ DISABLED(INVERT_FREEZE_PIN);
479
+    stepper.frozen = READ(FREEZE_PIN) == FREEZE_STATE;
480
   #endif
480
   #endif
481
 
481
 
482
   #if HAS_HOME
482
   #if HAS_HOME

Loading…
Cancel
Save