From 65acb54dbe342d678d94b1be6db303f6ccccecda Mon Sep 17 00:00:00 2001 From: richonguzman Date: Wed, 28 Aug 2024 11:45:16 -0400 Subject: [PATCH] wrong external sleep voltage definition fix --- src/configuration.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/configuration.cpp b/src/configuration.cpp index ce7520b5..64e20554 100644 --- a/src/configuration.cpp +++ b/src/configuration.cpp @@ -172,7 +172,7 @@ bool Configuration::readFile() { battery.sendExternalVoltage = data["battery"]["sendExternalVoltage"] | false; battery.externalVoltagePin = data["battery"]["externalVoltagePin"] | 34; battery.monitorExternalVoltage = data["battery"]["monitorExternalVoltage"] | false; - battery.externalSleepVoltage = data["battery"]["externalSleepVoltage"] | false; + battery.externalSleepVoltage = data["battery"]["externalSleepVoltage"] | 10.9; battery.voltageDividerR1 = data["battery"]["voltageDividerR1"] | 100.0; battery.voltageDividerR2 = data["battery"]["voltageDividerR2"] | 27.0;