summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/p18/response.cc2
-rw-r--r--src/p18/response.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/p18/response.cc b/src/p18/response.cc
index e2cd9f4..2a3f78c 100644
--- a/src/p18/response.cc
+++ b/src/p18/response.cc
@@ -294,7 +294,7 @@ void RatedInformation::unpack() {
max_ac_charging_current = stou(list[14]);
max_charging_current = stou(list[15]);
input_voltage_range = static_cast<InputVoltageRange>(stou(list[16]));
- output_source_priority = static_cast<OutputModelSetting>(stou(list[17]));
+ output_source_priority = static_cast<OutputSourcePriority>(stou(list[17]));
charger_source_priority = static_cast<ChargerSourcePriority>(stou(list[18]));
parallel_max_num = stou(list[19]);
machine_type = static_cast<MachineType>(stou(list[20]));
diff --git a/src/p18/response.h b/src/p18/response.h
index 3ffc6d4..3f92af0 100644
--- a/src/p18/response.h
+++ b/src/p18/response.h
@@ -292,7 +292,7 @@ public:
unsigned max_ac_charging_current; /* unit: A */
unsigned max_charging_current; /* unit: A */
p18::InputVoltageRange input_voltage_range;
- p18::OutputModelSetting output_source_priority;
+ p18::OutputSourcePriority output_source_priority;
p18::ChargerSourcePriority charger_source_priority;
unsigned parallel_max_num;
p18::MachineType machine_type;