From 88e4ceea8bc52552d48fb573bf5104a34b831268 Mon Sep 17 00:00:00 2001 From: Empire Date: Mon, 30 Aug 2021 08:02:12 +0000 Subject: [PATCH] fix for wrong validator --- esp32/src/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/esp32/src/main.cpp b/esp32/src/main.cpp index 1dabab0..2f2a4f3 100644 --- a/esp32/src/main.cpp +++ b/esp32/src/main.cpp @@ -706,7 +706,7 @@ void setup() timedLightStart.setDefaultValue(18).setValidator([](long candidate) { return (candidate > 0) && (candidate < (25)); }); timedLightEnd.setDefaultValue(23).setValidator([](long candidate) - { return (candidate > 0) && (candidate < (22)); }); + { return (candidate > 0) && (candidate < (24)); }); timedLightOnlyWhenDark.setDefaultValue(true); timedLightVoltageCutoff.setDefaultValue(3.8).setValidator([](double candidate) { return (candidate > 3.3) && (candidate < (4.2)); });