aboutsummaryrefslogtreecommitdiff
path: root/apps/mavlink/orb_listener.c
diff options
context:
space:
mode:
authorLorenz Meier <lm@inf.ethz.ch>2012-10-28 15:04:51 +0100
committerLorenz Meier <lm@inf.ethz.ch>2012-10-28 15:04:51 +0100
commit1a70b2f4ed0feffd9c57721db3661f15e64af5cb (patch)
tree2af08bfb437acf395ce867f2bb9e650e08dedef5 /apps/mavlink/orb_listener.c
parent98791bc6740bcbcbb355befd7c57ff22b9583bb5 (diff)
downloadpx4-firmware-1a70b2f4ed0feffd9c57721db3661f15e64af5cb.tar.gz
px4-firmware-1a70b2f4ed0feffd9c57721db3661f15e64af5cb.tar.bz2
px4-firmware-1a70b2f4ed0feffd9c57721db3661f15e64af5cb.zip
Added missing event type
Diffstat (limited to 'apps/mavlink/orb_listener.c')
-rw-r--r--apps/mavlink/orb_listener.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/mavlink/orb_listener.c b/apps/mavlink/orb_listener.c
index 90b0073cf..4b66ee438 100644
--- a/apps/mavlink/orb_listener.c
+++ b/apps/mavlink/orb_listener.c
@@ -532,6 +532,7 @@ uorb_receive_thread(void *arg)
struct pollfd fds[n_listeners];
for (unsigned i = 0; i < n_listeners; i++) {
fds[i].fd = *listeners[i].subp;
+ fds[i].events = POLLIN;
/* Invoke callback to set initial state */
//listeners[i].callback(&listener[i]);