added determineTimeLightState in TIMED_LIGHT_PIN define
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user