From a6e3bff7522781b588002cbd899e87393b1dd681 Mon Sep 17 00:00:00 2001 From: Matthias Suess Date: Wed, 4 Dec 2024 11:55:57 +0100 Subject: [PATCH] correct call syntax of send_meter_value Signed-off-by: Matthias Suess --- lib/ocpp/v16/charge_point_impl.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ocpp/v16/charge_point_impl.cpp b/lib/ocpp/v16/charge_point_impl.cpp index 3586c8056..6d781415b 100644 --- a/lib/ocpp/v16/charge_point_impl.cpp +++ b/lib/ocpp/v16/charge_point_impl.cpp @@ -2495,7 +2495,7 @@ void ChargePointImpl::handleTriggerMessageRequest(ocpp::Callget_latest_meter_value( c, this->configuration->getMeterValuesSampledDataVector(), ReadingContext::Trigger); if (meter_value.has_value()) { - this->send_meter_value_trigger(c, meter_value.value(), true); + this->send_meter_value(c, meter_value.value(), true); } else { EVLOG_warning << "Could not send triggered meter value for uninitialized measurement at connector#" << c;