Skip to content

Commit

Permalink
Merge pull request dresden-elektronik#6235 from SwoopX/statechanges
Browse files Browse the repository at this point in the history
Fix state changes failing prematurely under rare conditions
  • Loading branch information
manup authored Jul 30, 2022
2 parents 29ec9bd + b00a2ca commit 47cc713
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion state_change.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ StateChange::State StateChange::tick(Resource *r, deCONZ::ApsController *apsCtrl
const auto readFunction = DA_GetReadFunction(ddfItem.readParameters);
if (readFunction && ddfItem.isValid())
{
m_readResult = readFunction(r, item, apsCtrl, ddfItem.parseParameters);
m_readResult = readFunction(r, item, apsCtrl, ddfItem.readParameters);

if (m_readResult.isEnqueued)
{
Expand Down

0 comments on commit 47cc713

Please sign in to comment.