forked from Archive/PX4-Autopilot
PreflightCheck: Increase GPS timeout to 4 sec
This commit is contained in:
parent
d650820dbf
commit
38004cdd95
|
@ -281,7 +281,7 @@ static bool gnssCheck(int mavlink_fd)
|
|||
struct pollfd fds[1];
|
||||
fds[0].fd = gpsSub;
|
||||
fds[0].events = POLLIN;
|
||||
if(poll(fds, 1, 1000) <= 0) {
|
||||
if(poll(fds, 1, 4000) <= 0) {
|
||||
success = false;
|
||||
}
|
||||
else {
|
||||
|
|
Loading…
Reference in New Issue