spektrum_rc: raise poll timeout to 50ms/20Hz

This commit is contained in:
Julian Oes
2016-12-04 18:21:40 +01:00
committed by Lorenz Meier
parent a57c8d2a7c
commit fb42db41d2
+1 -1
View File
@@ -98,7 +98,7 @@ void task_main(int argc, char *argv[])
// Main loop
while (!_task_should_exit) {
int pret = px4_poll(&fds[0], (sizeof(fds) / sizeof(fds[0])), 10);
int pret = px4_poll(&fds[0], (sizeof(fds) / sizeof(fds[0])), 50);
/* Timed out, do a periodic check for _task_should_exit. */
if (pret == 0) {