mirror of
https://gitee.com/xiaohuolufeihua/bizhang_-obav.git
synced 2026-05-22 09:28:58 +00:00
PreflightCheck: Increase GPS timeout to 4 sec
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user