Power signal control definitions for ATX and others
This commit is contained in:
@ -1136,7 +1136,7 @@ void process_commands()
|
||||
#if (PS_ON_PIN > -1)
|
||||
case 80: // M80 - ATX Power On
|
||||
SET_OUTPUT(PS_ON_PIN); //GND
|
||||
WRITE(PS_ON_PIN, LOW);
|
||||
WRITE(PS_ON_PIN, PS_ON_AWAKE);
|
||||
break;
|
||||
#endif
|
||||
|
||||
@ -1147,7 +1147,7 @@ void process_commands()
|
||||
suicide();
|
||||
#elif (PS_ON_PIN > -1)
|
||||
SET_OUTPUT(PS_ON_PIN);
|
||||
WRITE(PS_ON_PIN, HIGH);
|
||||
WRITE(PS_ON_PIN, PS_ON_ASLEEP);
|
||||
#endif
|
||||
break;
|
||||
|
||||
|
Reference in New Issue
Block a user