mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-28 11:13:34 +08:00
reverting my workaround in mavlink orb_listener so that the fix of Lorenz is active
This commit is contained in:
@@ -549,8 +549,7 @@ uorb_receive_thread(void *arg)
|
|||||||
} else {
|
} else {
|
||||||
|
|
||||||
for (unsigned i = 0; i < n_listeners; i++) {
|
for (unsigned i = 0; i < n_listeners; i++) {
|
||||||
bool updated = false;
|
if (fds[i].revents & POLLIN)
|
||||||
if(OK == orb_check(*(listeners[i].subp), &updated) && updated)
|
|
||||||
listeners[i].callback(&listeners[i]);
|
listeners[i].callback(&listeners[i]);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user