Browse Source

Turn power off in `kill` instead of setting PS_ON to input

Scott Lahteine 7 years ago
parent
commit
72281c4ff9
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      Marlin/src/Marlin.cpp

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

@@ -591,7 +591,7 @@ void kill(const char* lcd_msg) {
591 591
   #endif
592 592
 
593 593
   #if HAS_POWER_SWITCH
594
-    SET_INPUT(PS_ON_PIN);
594
+    PSU_OFF();
595 595
   #endif
596 596
 
597 597
   #if HAS_SUICIDE

Loading…
Cancel
Save