mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-04-14 10:07:39 +08:00
Merge branch 'master' into px4io_fix
This commit is contained in:
commit
c8f471c560
@ -237,7 +237,7 @@ PX4IO_Uploader::recv(uint8_t &c, unsigned timeout)
|
||||
fds[0].fd = _io_fd;
|
||||
fds[0].events = POLLIN;
|
||||
|
||||
/* wait 100 ms for a character */
|
||||
/* wait <timout> ms for a character */
|
||||
int ret = ::poll(&fds[0], 1, timeout);
|
||||
|
||||
if (ret < 1) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user