Initialize PS_ON at startup

This commit is contained in:
Nicolas Rossi 2013-01-07 14:57:51 +01:00
parent f3c1fc70a9
commit 437eb3bafc

View File

@ -294,6 +294,10 @@ void setup_powerhold()
WRITE(SUICIDE_PIN, HIGH); WRITE(SUICIDE_PIN, HIGH);
#endif #endif
#endif #endif
#if (PS_ON_PIN > -1)
SET_OUTPUT(PS_ON_PIN);
WRITE(PS_ON_PIN, PS_ON_AWAKE);
#endif
} }
void suicide() void suicide()