mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-04-14 10:07:39 +08:00
reverting my workaround in mavlink orb_listener so that the fix of Lorenz is active
This commit is contained in:
parent
8d764170aa
commit
2f4cb6ca84
@ -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]);
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user