mirror of
https://github.com/thelsing/knx.git
synced 2025-07-30 13:46:26 +02:00
fix: reset flag wasUnloaded
This commit is contained in:
parent
5c3ae41ea1
commit
3c73cdca5e
@ -62,6 +62,9 @@ void BauSystemBDevice::loop()
|
||||
{
|
||||
writeMemory();
|
||||
_unloadStarted = 0;
|
||||
_addrTable.unsetWasundloaded();
|
||||
_assocTable.unsetWasundloaded();
|
||||
_groupObjTable.unsetWasundloaded();
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -422,3 +422,8 @@ bool TableObject::getWasUnloaded()
|
||||
{
|
||||
return _wasUnloaded;
|
||||
}
|
||||
|
||||
void TableObject::unsetWasundloaded()
|
||||
{
|
||||
_wasUnloaded = false;
|
||||
}
|
@ -36,6 +36,7 @@ class TableObject: public InterfaceObject
|
||||
static BeforeTablesUnloadCallback beforeTablesUnloadCallback();
|
||||
|
||||
bool getWasUnloaded();
|
||||
void unsetWasundloaded();
|
||||
|
||||
protected:
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user