Use SET_INPUT for PS_ON_PIN in kill
This commit is contained in:
parent
200cf3e9f9
commit
56dd15c0ad
|
@ -9950,7 +9950,7 @@ void kill(const char* lcd_msg) {
|
||||||
disable_all_steppers();
|
disable_all_steppers();
|
||||||
|
|
||||||
#if HAS_POWER_SWITCH
|
#if HAS_POWER_SWITCH
|
||||||
pinMode(PS_ON_PIN, INPUT);
|
SET_INPUT(PS_ON_PIN);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
suicide();
|
suicide();
|
||||||
|
|
Loading…
Reference in a new issue