mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-11-01 03:31:37 +08:00
Merge pull request #788 from PX4/mavlink_published_fix
mavlink: is_published() fix
This commit is contained in:
@@ -88,6 +88,7 @@ MavlinkOrbSubscription::update(const hrt_abstime t)
|
|||||||
|
|
||||||
if (_updated) {
|
if (_updated) {
|
||||||
orb_copy(_topic, _fd, _data);
|
orb_copy(_topic, _fd, _data);
|
||||||
|
_published = true;
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user