added determineTimeLightState in TIMED_LIGHT_PIN define

This commit is contained in:
Ollo 2021-10-01 22:53:40 +02:00
parent e913ff462e
commit 58cb523e1b

View File

@ -974,7 +974,7 @@ void plantcontrol()
/** @}*/
#ifdef TIMED_LIGHT_PIN
bool determineTimedLightState(bool lowLight){
bool onlyAllowedWhenDark = timedLightOnlyWhenDark.get();
long hoursStart = timedLightStart.get();
@ -1010,6 +1010,8 @@ bool determineTimedLightState(bool lowLight){
}
}
#endif
void log(int level, String message, int statusCode)
{
String buffer;