|
|
|
@ -332,8 +332,8 @@ Navigator::task_main()
@@ -332,8 +332,8 @@ Navigator::task_main()
|
|
|
|
|
|
|
|
|
|
while (!_task_should_exit) { |
|
|
|
|
|
|
|
|
|
/* wait for up to 100ms for data */ |
|
|
|
|
int pret = px4_poll(&fds[0], (sizeof(fds) / sizeof(fds[0])), 100); |
|
|
|
|
/* wait for up to 200ms for data */ |
|
|
|
|
int pret = px4_poll(&fds[0], (sizeof(fds) / sizeof(fds[0])), 200); |
|
|
|
|
|
|
|
|
|
if (pret == 0) { |
|
|
|
|
/* timed out - periodic check for _task_should_exit, etc. */ |
|
|
|
|