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();
|
writeMemory();
|
||||||
_unloadStarted = 0;
|
_unloadStarted = 0;
|
||||||
|
_addrTable.unsetWasundloaded();
|
||||||
|
_assocTable.unsetWasundloaded();
|
||||||
|
_groupObjTable.unsetWasundloaded();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -421,4 +421,9 @@ void TableObject::initializeDynTableProperties(size_t propertiesSize, Property**
|
|||||||
bool TableObject::getWasUnloaded()
|
bool TableObject::getWasUnloaded()
|
||||||
{
|
{
|
||||||
return _wasUnloaded;
|
return _wasUnloaded;
|
||||||
|
}
|
||||||
|
|
||||||
|
void TableObject::unsetWasundloaded()
|
||||||
|
{
|
||||||
|
_wasUnloaded = false;
|
||||||
}
|
}
|
@ -36,6 +36,7 @@ class TableObject: public InterfaceObject
|
|||||||
static BeforeTablesUnloadCallback beforeTablesUnloadCallback();
|
static BeforeTablesUnloadCallback beforeTablesUnloadCallback();
|
||||||
|
|
||||||
bool getWasUnloaded();
|
bool getWasUnloaded();
|
||||||
|
void unsetWasundloaded();
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user