Skip to content
Snippets Groups Projects
Commit 72a8ba07 authored by Lorenz Meier's avatar Lorenz Meier
Browse files

Merge branch 'master' of github.com:PX4/Firmware into px4io-i2c

parents b7a510df 433c9548
No related branches found
No related tags found
No related merge requests found
......@@ -430,8 +430,10 @@ ORBDevNode::appears_updated(SubscriberData *sd)
irqstate_t state = irqsave();
/* check if this topic has been published yet, if not bail out */
if (_data == nullptr)
if (_data == nullptr) {
ret = false;
goto out;
}
/*
* If the subscriber's generation count matches the update generation
......@@ -489,6 +491,7 @@ ORBDevNode::appears_updated(SubscriberData *sd)
break;
}
out:
irqrestore(state);
/* consider it updated */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment