Skip to content

Commit

Permalink
Init FREEZE based on active state
Browse files Browse the repository at this point in the history
  • Loading branch information
thinkyhead committed Mar 26, 2022
1 parent 2419386 commit f64b684
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion Marlin/src/MarlinCore.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1168,7 +1168,11 @@ void setup() {

#if ENABLED(FREEZE_FEATURE)
SETUP_LOG("FREEZE_PIN");
SET_INPUT_PULLUP(FREEZE_PIN);
#if FREEZE_STATE
SET_INPUT_PULLDOWN(FREEZE_PIN);
#else
SET_INPUT_PULLUP(FREEZE_PIN);
#endif
#endif

#if HAS_SUICIDE
Expand Down

0 comments on commit f64b684

Please sign in to comment.