mirror of
https://github.com/thelsing/knx.git
synced 2025-08-03 13:48:15 +02:00
removed check for secIfObj
This commit is contained in:
parent
d15cda5a15
commit
1feac3927c
@ -33,17 +33,6 @@ void BauSystemBCoupler::loop()
|
|||||||
#ifdef USE_DATASECURE
|
#ifdef USE_DATASECURE
|
||||||
_appLayer.loop();
|
_appLayer.loop();
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef USE_DATASECURE
|
|
||||||
if(_unloadStartet == 0 && _secIfObj.getWasUnloaded())
|
|
||||||
{
|
|
||||||
_unloadStartet = millis();
|
|
||||||
} else if(millis() - _unloadStartet > 5000)
|
|
||||||
{
|
|
||||||
writeMemory();
|
|
||||||
_unloadStartet = 0;
|
|
||||||
}
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
bool BauSystemBCoupler::configured()
|
bool BauSystemBCoupler::configured()
|
||||||
|
@ -54,11 +54,7 @@ void BauSystemBDevice::loop()
|
|||||||
{
|
{
|
||||||
if(_addrTable.getWasUnloaded()
|
if(_addrTable.getWasUnloaded()
|
||||||
|| _assocTable.getWasUnloaded()
|
|| _assocTable.getWasUnloaded()
|
||||||
|| _groupObjTable.getWasUnloaded()
|
|| _groupObjTable.getWasUnloaded())
|
||||||
#ifdef USE_DATASECURE
|
|
||||||
|| _secIfObj.getWasUnloaded()
|
|
||||||
#endif
|
|
||||||
)
|
|
||||||
{
|
{
|
||||||
_unloadStartet = millis();
|
_unloadStartet = millis();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user