mavlink_orb_subscription: bug fixed

This commit is contained in:
Anton Babushkin 2014-02-25 00:04:44 +04:00
parent 3fe39600d0
commit cf7ac7e660
1 changed files with 1 additions and 1 deletions

View File

@ -41,7 +41,7 @@ int MavlinkOrbSubscription::update(const hrt_abstime t)
bool updated; bool updated;
orb_check(fd, &updated); orb_check(fd, &updated);
if (updated) if (updated)
return orb_copy(meta, fd, &data); return orb_copy(meta, fd, data);
} }
return OK; return OK;
} }