Skip to content

Commit

Permalink
Fix vector conversion of network connection priorities (#411)
Browse files Browse the repository at this point in the history
Signed-off-by: Kai-Uwe Hermann <[email protected]>
  • Loading branch information
hikinggrass authored Jan 22, 2024
1 parent 35195e6 commit 1b59cc9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/ocpp/v201/charge_point.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -833,7 +833,7 @@ std::optional<NetworkConnectionProfile> ChargePoint::get_network_connection_prof
}

void ChargePoint::next_network_configuration_priority() {
std::vector<SetNetworkProfileRequest> network_connection_priorities = json::parse(
const auto network_connection_priorities = ocpp::get_vector_from_csv(
this->device_model->get_value<std::string>(ControllerComponentVariables::NetworkConfigurationPriority));
if (network_connection_priorities.size() > 1) {
EVLOG_info << "Switching to next network configuration priority";
Expand Down

0 comments on commit 1b59cc9

Please sign in to comment.