removed check for secIfObj

This commit is contained in:
Mike 2025-05-12 15:31:04 +02:00
parent d15cda5a15
commit 1feac3927c
No known key found for this signature in database
2 changed files with 1 additions and 16 deletions

View File

@ -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()

View File

@ -54,11 +54,7 @@ void BauSystemBDevice::loop()
{
if(_addrTable.getWasUnloaded()
|| _assocTable.getWasUnloaded()
|| _groupObjTable.getWasUnloaded()
#ifdef USE_DATASECURE
|| _secIfObj.getWasUnloaded()
#endif
)
|| _groupObjTable.getWasUnloaded())
{
_unloadStartet = millis();
}