Browse Source

Use SET_INPUT for PS_ON_PIN in kill

Scott Lahteine 8 years ago
parent
commit
56dd15c0ad
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      Marlin/Marlin_main.cpp

+ 1
- 1
Marlin/Marlin_main.cpp View File

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

Loading…
Cancel
Save