Merge pull request #641 from hugokernel/master
M80 - ATX Power On related modification
This commit is contained in:
commit
95b41413e6
@ -1825,6 +1825,15 @@ void process_commands()
|
||||
case 80: // M80 - Turn on Power Supply
|
||||
SET_OUTPUT(PS_ON_PIN); //GND
|
||||
WRITE(PS_ON_PIN, PS_ON_AWAKE);
|
||||
|
||||
// If you have a switch on suicide pin, this is useful
|
||||
// if you want to start another print with suicide feature after
|
||||
// a print without suicide...
|
||||
#if defined SUICIDE_PIN && SUICIDE_PIN > -1
|
||||
SET_OUTPUT(SUICIDE_PIN);
|
||||
WRITE(SUICIDE_PIN, HIGH);
|
||||
#endif
|
||||
|
||||
#ifdef ULTIPANEL
|
||||
powersupply = true;
|
||||
LCD_MESSAGEPGM(WELCOME_MSG);
|
||||
|
Loading…
Reference in New Issue
Block a user