Skip to content

Commit

Permalink
correct call syntax of send_meter_value
Browse files Browse the repository at this point in the history
Signed-off-by: Matthias Suess <[email protected]>
  • Loading branch information
Matthias-NIDEC authored and Pietfried committed Dec 23, 2024
1 parent 52f82bf commit a6e3bff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/ocpp/v16/charge_point_impl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2495,7 +2495,7 @@ void ChargePointImpl::handleTriggerMessageRequest(ocpp::Call<TriggerMessageReque
const auto meter_value = this->get_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;
Expand Down

0 comments on commit a6e3bff

Please sign in to comment.