reverting my workaround in mavlink orb_listener so that the fix of Lorenz is active

This commit is contained in:
Thomas Gubler 2012-10-28 16:14:06 +01:00
parent 8d764170aa
commit 2f4cb6ca84

View File

@ -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]);
}
}