mirror of
https://github.com/thelsing/knx.git
synced 2025-08-13 13:46:20 +02:00
fix a bug that group object with read_on_init eanbled would crash when configuring by ETS
This commit is contained in:
parent
9803de2166
commit
a82fb82110
@ -70,7 +70,7 @@ void BauSystemB::sendNextGroupTelegram()
|
||||
else if (flag == ReadRequest)
|
||||
{
|
||||
// do not send read_on_init request when configuring, or else would crash. this is judged by last PropertyValueWrite telegram received time
|
||||
// it works under my test, although it might not be the best way
|
||||
// it works under my test, although it might not be the best way
|
||||
if(_lastPropertyValueWriteTime == 0 || millis() - _lastPropertyValueWriteTime > 10000) {
|
||||
_appLayer.groupValueReadRequest(AckRequested, asap, go.priority(), NetworkLayerParameter);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user