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