mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-05-28 19:32:36 +08:00
Merge branch 'master' of github.com:PX4/Firmware into px4io-i2c
This commit is contained in:
@@ -429,6 +429,10 @@ ORBDevNode::appears_updated(SubscriberData *sd)
|
|||||||
/* avoid racing between interrupt and non-interrupt context calls */
|
/* avoid racing between interrupt and non-interrupt context calls */
|
||||||
irqstate_t state = irqsave();
|
irqstate_t state = irqsave();
|
||||||
|
|
||||||
|
/* check if this topic has been published yet, if not bail out */
|
||||||
|
if (_data == nullptr)
|
||||||
|
ret = false;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* If the subscriber's generation count matches the update generation
|
* If the subscriber's generation count matches the update generation
|
||||||
* count, there has been no update from their perspective; if they
|
* count, there has been no update from their perspective; if they
|
||||||
|
|||||||
Reference in New Issue
Block a user