mavlink_orb_subscription: minor optimization and comment fix

This commit is contained in:
Anton Babushkin
2014-03-16 17:28:34 +04:00
parent df5d702bae
commit 762e8f5289
2 changed files with 5 additions and 1 deletions
@@ -98,6 +98,10 @@ MavlinkOrbSubscription::update(const hrt_abstime t)
bool
MavlinkOrbSubscription::is_published()
{
if (_published) {
return true;
}
bool updated;
orb_check(_fd, &updated);