diff options
author | Lorenz Meier <lm@inf.ethz.ch> | 2012-10-28 15:04:51 +0100 |
---|---|---|
committer | Lorenz Meier <lm@inf.ethz.ch> | 2012-10-28 15:04:51 +0100 |
commit | 1a70b2f4ed0feffd9c57721db3661f15e64af5cb (patch) | |
tree | 2af08bfb437acf395ce867f2bb9e650e08dedef5 /apps/mavlink/orb_listener.c | |
parent | 98791bc6740bcbcbb355befd7c57ff22b9583bb5 (diff) | |
download | px4-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.c | 1 |
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]); |