fix for wrong validator
This commit is contained in:
parent
f99f72b65a
commit
88e4ceea8b
@ -706,7 +706,7 @@ void setup()
|
|||||||
timedLightStart.setDefaultValue(18).setValidator([](long candidate)
|
timedLightStart.setDefaultValue(18).setValidator([](long candidate)
|
||||||
{ return (candidate > 0) && (candidate < (25)); });
|
{ return (candidate > 0) && (candidate < (25)); });
|
||||||
timedLightEnd.setDefaultValue(23).setValidator([](long candidate)
|
timedLightEnd.setDefaultValue(23).setValidator([](long candidate)
|
||||||
{ return (candidate > 0) && (candidate < (22)); });
|
{ return (candidate > 0) && (candidate < (24)); });
|
||||||
timedLightOnlyWhenDark.setDefaultValue(true);
|
timedLightOnlyWhenDark.setDefaultValue(true);
|
||||||
timedLightVoltageCutoff.setDefaultValue(3.8).setValidator([](double candidate)
|
timedLightVoltageCutoff.setDefaultValue(3.8).setValidator([](double candidate)
|
||||||
{ return (candidate > 3.3) && (candidate < (4.2)); });
|
{ return (candidate > 3.3) && (candidate < (4.2)); });
|
||||||
|
Loading…
Reference in New Issue
Block a user