mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-05-21 15:07:35 +08:00
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:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user