Skip to content

Commit

Permalink
clang-format
Browse files Browse the repository at this point in the history
Signed-off-by: Kai-Uwe Hermann <[email protected]>
  • Loading branch information
hikinggrass committed Feb 9, 2024
1 parent 86f47fc commit 76e277e
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions modules/OCPP/OCPP.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -231,11 +231,13 @@ void OCPP::process_session_event(int32_t evse_id, const types::evse_manager::Ses
EVLOG_debug << "Connector#" << ocpp_connector_id << ": "
<< "Received ChargingPausedEV";
this->charge_point->on_suspend_charging_ev(ocpp_connector_id);
} else if (session_event.event == types::evse_manager::SessionEventEnum::ChargingPausedEVSE or session_event.event == types::evse_manager::SessionEventEnum::WaitingForEnergy) {
} else if (session_event.event == types::evse_manager::SessionEventEnum::ChargingPausedEVSE or
session_event.event == types::evse_manager::SessionEventEnum::WaitingForEnergy) {
EVLOG_debug << "Connector#" << ocpp_connector_id << ": "
<< "Received ChargingPausedEVSE";
this->charge_point->on_suspend_charging_evse(ocpp_connector_id);
} else if (session_event.event == types::evse_manager::SessionEventEnum::ChargingStarted || session_event.event == types::evse_manager::SessionEventEnum::ChargingResumed) {
} else if (session_event.event == types::evse_manager::SessionEventEnum::ChargingStarted ||
session_event.event == types::evse_manager::SessionEventEnum::ChargingResumed) {
EVLOG_debug << "Connector#" << ocpp_connector_id << ": "
<< "Received ChargingResumed";
this->charge_point->on_resume_charging(ocpp_connector_id);
Expand Down

0 comments on commit 76e277e

Please sign in to comment.