mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-19 12:13:34 +08:00
Merge remote-tracking branch 'px4/master' into pwm_ioctls
Conflicts: src/drivers/px4io/px4io.cpp
This commit is contained in:
+386
-268
File diff suppressed because it is too large
Load Diff
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user