Power signal control definitions for ATX and others

This commit is contained in:
Nicolas Rossi
2013-01-07 14:33:30 +01:00
parent 3a1cd30ce1
commit f3c1fc70a9
3 changed files with 23 additions and 2 deletions

View File

@ -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;