diff options
author | Anton Babushkin <anton.babushkin@me.com> | 2014-02-25 00:04:44 +0400 |
---|---|---|
committer | Anton Babushkin <anton.babushkin@me.com> | 2014-02-25 00:04:44 +0400 |
commit | cf7ac7e660b4be82d98b881fea6cbc718978605b (patch) | |
tree | ed6e9ebf476b3c9f11eff396f3c7a6b92c5dfc9b /src/modules/mavlink/mavlink_orb_subscription.cpp | |
parent | 3fe39600d0beb8d00ee066dbc3a94e08c6b78329 (diff) | |
download | px4-firmware-cf7ac7e660b4be82d98b881fea6cbc718978605b.tar.gz px4-firmware-cf7ac7e660b4be82d98b881fea6cbc718978605b.tar.bz2 px4-firmware-cf7ac7e660b4be82d98b881fea6cbc718978605b.zip |
mavlink_orb_subscription: bug fixed
Diffstat (limited to 'src/modules/mavlink/mavlink_orb_subscription.cpp')
-rw-r--r-- | src/modules/mavlink/mavlink_orb_subscription.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/mavlink/mavlink_orb_subscription.cpp b/src/modules/mavlink/mavlink_orb_subscription.cpp index 182407a5e..16044ef72 100644 --- a/src/modules/mavlink/mavlink_orb_subscription.cpp +++ b/src/modules/mavlink/mavlink_orb_subscription.cpp @@ -41,7 +41,7 @@ int MavlinkOrbSubscription::update(const hrt_abstime t) bool updated; orb_check(fd, &updated); if (updated) - return orb_copy(meta, fd, &data); + return orb_copy(meta, fd, data); } return OK; } |