PreflightCheck: Increase GPS timeout to 4 sec

This commit is contained in:
Johan Jansen 2015-05-18 12:31:16 +02:00
parent d650820dbf
commit 38004cdd95
1 changed files with 1 additions and 1 deletions

View File

@ -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 {