Skip to content

Commit 7c67bfd

Browse files
committed
Comments
Signed-off-by: AssemblyJohn <ioan.bogdann@gmail.com>
1 parent 92d917f commit 7c67bfd

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

include/iso15118/detail/d20/state/dc_charge_parameter_discovery.hpp

-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
#pragma once
44

55
#include <iso15118/d20/config.hpp>
6-
#include <iso15118/d20/ev_session_info.hpp>
76
#include <iso15118/d20/limits.hpp>
87
#include <iso15118/d20/session.hpp>
98
#include <iso15118/message/dc_charge_parameter_discovery.hpp>

src/iso15118/d20/state/schedule_exchange.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ Result ScheduleExchange::feed(Event ev) {
138138

139139
// We will pass the raw data to the listener, the
140140
// listener will construct the full required type
141-
dt::AcConnector ac_connector = dt::AcConnector::SinglePhase;
141+
std::optional<dt::AcConnector> ac_connector{};
142142
if (std::holds_alternative<dt::AcConnector>(selected_services.selected_connector)) {
143143
ac_connector = std::get<dt::AcConnector>(selected_services.selected_connector);
144144
}

0 commit comments

Comments
 (0)