diff options
author | Lorenz Meier <lm@inf.ethz.ch> | 2014-04-02 13:44:50 +0200 |
---|---|---|
committer | Lorenz Meier <lm@inf.ethz.ch> | 2014-04-02 13:44:50 +0200 |
commit | 0205eebaa63016b3cf4bb03a5af230554d4a581b (patch) | |
tree | 2700c1280ecbd0ec490137bfbf638d3bc0a53d76 /src/modules | |
parent | f6665ed3c6c4475afc8ca16f4c7ae4be5082d6fa (diff) | |
parent | fc757f9492a9495516e37abd6efc94c58904f1f0 (diff) | |
download | px4-firmware-0205eebaa63016b3cf4bb03a5af230554d4a581b.tar.gz px4-firmware-0205eebaa63016b3cf4bb03a5af230554d4a581b.tar.bz2 px4-firmware-0205eebaa63016b3cf4bb03a5af230554d4a581b.zip |
Merge pull request #788 from PX4/mavlink_published_fix
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; } } |