From 38004cdd955dad01801b750e18e45ac5dd3000e4 Mon Sep 17 00:00:00 2001 From: Johan Jansen Date: Mon, 18 May 2015 12:31:16 +0200 Subject: [PATCH] PreflightCheck: Increase GPS timeout to 4 sec --- src/modules/commander/PreflightCheck.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/commander/PreflightCheck.cpp b/src/modules/commander/PreflightCheck.cpp index f90406cf00..cc993bc015 100644 --- a/src/modules/commander/PreflightCheck.cpp +++ b/src/modules/commander/PreflightCheck.cpp @@ -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 {