From dcd2696d1cc0a2d7791a2e4bfc56401298955e3e Mon Sep 17 00:00:00 2001 From: Soumya Subramanya Date: Fri, 15 Sep 2023 10:30:49 +0200 Subject: [PATCH] E04:fix formatting Signed-off-by: Soumya Subramanya --- lib/ocpp/v201/charge_point.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/lib/ocpp/v201/charge_point.cpp b/lib/ocpp/v201/charge_point.cpp index fc25b4680..bbc6e9e60 100644 --- a/lib/ocpp/v201/charge_point.cpp +++ b/lib/ocpp/v201/charge_point.cpp @@ -804,8 +804,8 @@ void ChargePoint::update_aligned_data_interval() { this->transaction_event_req( TransactionEventEnum::Updated, DateTime(), enhanced_transaction->get_transaction(), TriggerReasonEnum::MeterValueClock, enhanced_transaction->get_seq_no(), std::nullopt, - std::nullopt, std::nullopt, std::vector(1, meter_value), std::nullopt, - offline, std::nullopt); + std::nullopt, std::nullopt, std::vector(1, meter_value), std::nullopt, offline, + std::nullopt); } else if (!evse->has_active_transaction() and this->device_model ->get_optional_value(ControllerComponentVariables::AlignedDataSendDuringIdle) @@ -1654,10 +1654,10 @@ void ChargePoint::handle_trigger_message(Call call) { offline = true; } - this->transaction_event_req( - TransactionEventEnum::Updated, DateTime(), enhanced_transaction->get_transaction(), - TriggerReasonEnum::Trigger, enhanced_transaction->get_seq_no(), std::nullopt, std::nullopt, - std::nullopt, std::vector(1, meter_value), std::nullopt, offline, std::nullopt); + this->transaction_event_req(TransactionEventEnum::Updated, DateTime(), + enhanced_transaction->get_transaction(), TriggerReasonEnum::Trigger, + enhanced_transaction->get_seq_no(), std::nullopt, std::nullopt, std::nullopt, + std::vector(1, meter_value), std::nullopt, offline, std::nullopt); }; send_evse_message(send_transaction); } break;