diff options
author | Anton Babushkin <anton.babushkin@me.com> | 2014-04-02 15:38:49 +0400 |
---|---|---|
committer | Anton Babushkin <anton.babushkin@me.com> | 2014-04-02 15:38:49 +0400 |
commit | fc757f9492a9495516e37abd6efc94c58904f1f0 (patch) | |
tree | 2700c1280ecbd0ec490137bfbf638d3bc0a53d76 /src/modules | |
parent | f6665ed3c6c4475afc8ca16f4c7ae4be5082d6fa (diff) | |
download | px4-firmware-fc757f9492a9495516e37abd6efc94c58904f1f0.tar.gz px4-firmware-fc757f9492a9495516e37abd6efc94c58904f1f0.tar.bz2 px4-firmware-fc757f9492a9495516e37abd6efc94c58904f1f0.zip |
mavlink: is_published() fix
Diffstat (limited to 'src/modules')
-rw-r--r-- | src/modules/mavlink/mavlink_orb_subscription.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/modules/mavlink/mavlink_orb_subscription.cpp b/src/modules/mavlink/mavlink_orb_subscription.cpp index 4de722832..d432edd2b 100644 --- a/src/modules/mavlink/mavlink_orb_subscription.cpp +++ b/src/modules/mavlink/mavlink_orb_subscription.cpp @@ -88,6 +88,7 @@ MavlinkOrbSubscription::update(const hrt_abstime t) if (_updated) { orb_copy(_topic, _fd, _data); + _published = true; return true; } } |