|
@@ -1825,6 +1825,15 @@ void process_commands()
|
1825
|
1825
|
case 80: // M80 - Turn on Power Supply
|
1826
|
1826
|
SET_OUTPUT(PS_ON_PIN); //GND
|
1827
|
1827
|
WRITE(PS_ON_PIN, PS_ON_AWAKE);
|
|
1828
|
+
|
|
1829
|
+ // If you have a switch on suicide pin, this is useful
|
|
1830
|
+ // if you want to start another print with suicide feature after
|
|
1831
|
+ // a print without suicide...
|
|
1832
|
+ #if defined SUICIDE_PIN && SUICIDE_PIN > -1
|
|
1833
|
+ SET_OUTPUT(SUICIDE_PIN);
|
|
1834
|
+ WRITE(SUICIDE_PIN, HIGH);
|
|
1835
|
+ #endif
|
|
1836
|
+
|
1828
|
1837
|
#ifdef ULTIPANEL
|
1829
|
1838
|
powersupply = true;
|
1830
|
1839
|
LCD_MESSAGEPGM(WELCOME_MSG);
|