forked from Archive/PX4-Autopilot
mavlink_orb_subscription: bug fixed
This commit is contained in:
parent
3fe39600d0
commit
cf7ac7e660
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue