diff --git a/modules/OCPP/OCPP.cpp b/modules/OCPP/OCPP.cpp index 132664f44..0c3886c4c 100644 --- a/modules/OCPP/OCPP.cpp +++ b/modules/OCPP/OCPP.cpp @@ -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);