Update powersupply_on in power_on/off (#10015)

Fix #10004
This commit is contained in:
Scott Lahteine
2018-03-08 18:56:47 -06:00
committed by GitHub
parent 42608b1925
commit 3c2bfa5e53
5 changed files with 16 additions and 19 deletions

View File

@ -87,11 +87,11 @@ void Power::check() {
void Power::power_on() {
lastPowerOn = millis();
OUT_WRITE(PS_ON_PIN, PS_ON_AWAKE);
PSU_PIN_ON();
}
void Power::power_off() {
OUT_WRITE(PS_ON_PIN, PS_ON_ASLEEP);
PSU_PIN_OFF();
}
#endif // AUTO_POWER_CONTROL