mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-06-06 06:43:21 +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 {
|
||||
|
||||
for (unsigned i = 0; i < n_listeners; i++) {
|
||||
bool updated = false;
|
||||
if(OK == orb_check(*(listeners[i].subp), &updated) && updated)
|
||||
if (fds[i].revents & POLLIN)
|
||||
listeners[i].callback(&listeners[i]);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user