From b98ae0b80bc6ef1af16e9b60109d46194aa16c57 Mon Sep 17 00:00:00 2001 From: Kai-Uwe Hermann Date: Thu, 28 Sep 2023 22:51:34 +0200 Subject: [PATCH] clang-format Signed-off-by: Kai-Uwe Hermann --- include/ocpp/v201/charge_point.hpp | 2 +- lib/ocpp/v201/charge_point.cpp | 4 +--- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/include/ocpp/v201/charge_point.hpp b/include/ocpp/v201/charge_point.hpp index 942b4950a9..b3f4f7844d 100644 --- a/include/ocpp/v201/charge_point.hpp +++ b/include/ocpp/v201/charge_point.hpp @@ -95,7 +95,7 @@ struct Callbacks { validate_network_profile_callback; std::optional> configure_network_connection_profile_callback; - std::optional> time_sync_callback; + std::optional> time_sync_callback; }; /// \brief Class implements OCPP2.0.1 Charging Station diff --git a/lib/ocpp/v201/charge_point.cpp b/lib/ocpp/v201/charge_point.cpp index 34622dd716..09429f9e89 100644 --- a/lib/ocpp/v201/charge_point.cpp +++ b/lib/ocpp/v201/charge_point.cpp @@ -1921,8 +1921,7 @@ void ChargePoint::handle_change_availability_req(Call } } -void ChargePoint::handle_heartbeat_response(Call call) -{ +void ChargePoint::handle_heartbeat_response(Call call) { const auto msg = call.msg; if (this->callbacks.time_sync_callback.has_value()) { @@ -1934,7 +1933,6 @@ void ChargePoint::handle_heartbeat_response(Call call) } } - void ChargePoint::handle_firmware_update_req(Call call) { EVLOG_debug << "Received UpdateFirmwareRequest: " << call.msg << "\nwith messageId: " << call.uniqueId; UpdateFirmwareResponse response = callbacks.update_firmware_request_callback(call.msg);