protocol_splitter: reduce poll timeout from 100ms to 10ms

This matches the timeout in mavlink_receiver.
With the higher timeout sending of e.g. mavlink logging was done at a lower
rate.
This commit is contained in:
Beat Küng
2021-08-13 14:07:46 +02:00
committed by Daniel Agar
parent 00d939995b
commit 375b014444
@@ -358,7 +358,7 @@ pollevent_t DevCommon::poll_state(struct file *filp)
* the _fd in here or by overriding some other method.
*/
::poll(fds, sizeof(fds) / sizeof(fds[0]), 100);
::poll(fds, sizeof(fds) / sizeof(fds[0]), 10);
return POLLIN;
}