Skip to content

Commit

Permalink
allow B->C transition in waiting for auth
Browse files Browse the repository at this point in the history
Signed-off-by: Cornelius Claussen <[email protected]>
  • Loading branch information
corneliusclaussen committed Dec 11, 2023
1 parent 8fc5e80 commit 044b42a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions modules/EvseManager/Charger.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -703,11 +703,11 @@ void Charger::processCPEventsState(ControlPilotEvent cp_event) {

case EvseState::WaitingForAuthentication:
if (cp_event == ControlPilotEvent::CarRequestedPower) {
session_log.car(false, "Ignoring CarRequestedPower in WaitingForAuth state. Probably a BCB toggle that "
"does not make sense here.");
session_log.car(false, "B->C transition before PWM is enabled at this stage violates IEC61851-1");
iec_allow_close_contactor = true;
} else if (cp_event == ControlPilotEvent::CarRequestedStopPower) {
session_log.car(false, "Ignoring CarRequestedStopPower in WaitingForAuth state. Probably a BCB toggle that "
"does not make sense here.");
session_log.car(false, "C->B transition at this stage violates IEC61851-1");
iec_allow_close_contactor = false;
}
break;

Expand Down

0 comments on commit 044b42a

Please sign in to comment.