aqhome-react: major rebuild of unit handling.
now nested networks are allowed to allow for complex networks.
This commit is contained in:
@@ -151,7 +151,7 @@ void _serve(AQHOME_REACT *aqh)
|
||||
lastTimerTime=startTime;
|
||||
lastFileScanTime=startTime;
|
||||
|
||||
AqHomeReact_SetLatestNetworkFileTime(aqh, AQHomeReact_GetNewestUnitNetFiletime(aqh));
|
||||
AqHomeReact_SetLatestNetworkFileTime(aqh, AQHomeReact_GetNewestUnitNetFiletime());
|
||||
|
||||
dbArgs=AqHomeReact_GetDbArgs(aqh);
|
||||
timerUnit=AqHomeReact_GetTimerUnit(aqh);
|
||||
@@ -184,7 +184,7 @@ void _serve(AQHOME_REACT *aqh)
|
||||
time_t t;
|
||||
|
||||
DBG_INFO(NULL, "Checking network files");
|
||||
tNew=AQHomeReact_GetNewestUnitNetFiletime(aqh);
|
||||
tNew=AQHomeReact_GetNewestUnitNetFiletime();
|
||||
t=AqHomeReact_GetLatestNetworkFileTime(aqh);
|
||||
if (tNew && tNew>t) {
|
||||
DBG_INFO(NULL, "Reloading network files");
|
||||
|
||||
Reference in New Issue
Block a user