Skip to content

Commit

Permalink
don't force timer sleep to wait until EV stops charging
Browse files Browse the repository at this point in the history
  • Loading branch information
lincomatic committed Apr 3, 2018
1 parent 107e44d commit c38c50e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions firmware/open_evse/open_evse.ino
Original file line number Diff line number Diff line change
Expand Up @@ -2301,8 +2301,8 @@ void DelayTimer::CheckTime()
}
else { // sleep now
if (!ManualOverrideIsSet()) {
if ((evseState != EVSE_STATE_SLEEPING) &&
(evseState != EVSE_STATE_C) // don't interrupt active charging
if ((evseState != EVSE_STATE_SLEEPING)
// && (evseState != EVSE_STATE_C) // don't interrupt active charging
) {
g_EvseController.Sleep();
}
Expand Down

0 comments on commit c38c50e

Please sign in to comment.