From 1e71ed043e3e9c1e25629c629e2ce0ccffc0b5f3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20J=C3=A4ger?= Date: Mon, 26 Oct 2020 15:23:04 +0100 Subject: [PATCH] DC/DC: Fix ls_voltage_max setting --- src/dcdc.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/dcdc.cpp b/src/dcdc.cpp index 105698c..30a36d6 100644 --- a/src/dcdc.cpp +++ b/src/dcdc.cpp @@ -43,7 +43,7 @@ Dcdc::Dcdc(PowerPort *hv_side, PowerPort *lv_side, DcdcOperationMode op_mode) lvs->pos_current_limit = DT_PROP(DT_PATH(dcdc), current_max); ls_current_max = DT_PROP(DT_PATH(dcdc), current_max); hs_voltage_max = DT_PROP(DT_PATH(pcb), hs_voltage_max); - ls_voltage_max = DT_PROP(DT_PATH(pcb), hs_voltage_max); + ls_voltage_max = DT_PROP(DT_PATH(pcb), ls_voltage_max); ls_voltage_min = 9.0; output_power_min = 1; // switch off if power < 1 W restart_interval = 60;