mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-07-16 06:50:36 +08:00
mavlink_orb_subscription: bug fixed
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user