diff options
Diffstat (limited to 'apps/attitude_estimator_ekf/attitude_estimator_ekf_main.c')
-rw-r--r-- | apps/attitude_estimator_ekf/attitude_estimator_ekf_main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/attitude_estimator_ekf/attitude_estimator_ekf_main.c b/apps/attitude_estimator_ekf/attitude_estimator_ekf_main.c index d2e0efb56..159a70701 100644 --- a/apps/attitude_estimator_ekf/attitude_estimator_ekf_main.c +++ b/apps/attitude_estimator_ekf/attitude_estimator_ekf_main.c @@ -257,7 +257,7 @@ int attitude_estimator_ekf_thread_main(int argc, char *argv[]) { .fd = sub_raw, .events = POLLIN }, { .fd = sub_params, .events = POLLIN } }; - int ret = poll(fds, 1, 1000); + int ret = poll(fds, 2, 1000); if (ret < 0) { /* XXX this is seriously bad - should be an emergency */ |