1
0
mirror of https://github.com/MarlinFirmware/Marlin.git synced 2024-11-27 13:56:24 +00:00

Use SET_INPUT for PS_ON_PIN in kill

This commit is contained in:
Scott Lahteine 2016-12-02 22:40:18 -06:00
parent 200cf3e9f9
commit 56dd15c0ad

View File

@ -9950,7 +9950,7 @@ void kill(const char* lcd_msg) {
disable_all_steppers();
#if HAS_POWER_SWITCH
pinMode(PS_ON_PIN, INPUT);
SET_INPUT(PS_ON_PIN);
#endif
suicide();