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
|
||||
_appLayer.loop();
|
||||
#endif
|
||||
|
||||
#ifdef USE_DATASECURE
|
||||
if(_unloadStartet == 0 && _secIfObj.getWasUnloaded())
|
||||
{
|
||||
_unloadStartet = millis();
|
||||
} else if(millis() - _unloadStartet > 5000)
|
||||
{
|
||||
writeMemory();
|
||||
_unloadStartet = 0;
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
bool BauSystemBCoupler::configured()
|
||||
|
@ -54,11 +54,7 @@ void BauSystemBDevice::loop()
|
||||
{
|
||||
if(_addrTable.getWasUnloaded()
|
||||
|| _assocTable.getWasUnloaded()
|
||||
|| _groupObjTable.getWasUnloaded()
|
||||
#ifdef USE_DATASECURE
|
||||
|| _secIfObj.getWasUnloaded()
|
||||
#endif
|
||||
)
|
||||
|| _groupObjTable.getWasUnloaded())
|
||||
{
|
||||
_unloadStartet = millis();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user