mirror of
https://github.com/thelsing/knx.git
synced 2024-12-18 19:08:18 +01:00
Finalize uninitialized handling
This commit is contained in:
parent
e43325e42b
commit
7b8db75d5c
@ -175,12 +175,12 @@ bool GroupObject::initialized()
|
|||||||
|
|
||||||
void GroupObject::requestObjectRead()
|
void GroupObject::requestObjectRead()
|
||||||
{
|
{
|
||||||
_commFlagEx.commFlag = ReadRequest;
|
commFlag(ReadRequest);
|
||||||
}
|
}
|
||||||
|
|
||||||
void GroupObject::objectWritten()
|
void GroupObject::objectWritten()
|
||||||
{
|
{
|
||||||
_commFlagEx.commFlag = WriteRequest;
|
commFlag(WriteRequest);
|
||||||
}
|
}
|
||||||
|
|
||||||
size_t GroupObject::valueSize()
|
size_t GroupObject::valueSize()
|
||||||
@ -283,10 +283,7 @@ void GroupObject::valueNoSend(const KNXValue& value)
|
|||||||
void GroupObject::valueNoSend(const KNXValue& value, const Dpt& type)
|
void GroupObject::valueNoSend(const KNXValue& value, const Dpt& type)
|
||||||
{
|
{
|
||||||
if (_commFlagEx.uninitialized)
|
if (_commFlagEx.uninitialized)
|
||||||
{
|
commFlag(Ok);
|
||||||
_commFlagEx.commFlag = Ok;
|
|
||||||
_commFlagEx.uninitialized = false;
|
|
||||||
}
|
|
||||||
|
|
||||||
KNX_Encode_Value(value, _data, _dataLength, type);
|
KNX_Encode_Value(value, _data, _dataLength, type);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user