added determineTimeLightState in TIMED_LIGHT_PIN define
This commit is contained in:
parent
e913ff462e
commit
58cb523e1b
@ -974,7 +974,7 @@ void plantcontrol()
|
|||||||
|
|
||||||
/** @}*/
|
/** @}*/
|
||||||
|
|
||||||
|
#ifdef TIMED_LIGHT_PIN
|
||||||
bool determineTimedLightState(bool lowLight){
|
bool determineTimedLightState(bool lowLight){
|
||||||
bool onlyAllowedWhenDark = timedLightOnlyWhenDark.get();
|
bool onlyAllowedWhenDark = timedLightOnlyWhenDark.get();
|
||||||
long hoursStart = timedLightStart.get();
|
long hoursStart = timedLightStart.get();
|
||||||
@ -1010,6 +1010,8 @@ bool determineTimedLightState(bool lowLight){
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#endif
|
||||||
|
|
||||||
void log(int level, String message, int statusCode)
|
void log(int level, String message, int statusCode)
|
||||||
{
|
{
|
||||||
String buffer;
|
String buffer;
|
||||||
|
Loading…
Reference in New Issue
Block a user