]> git.droids-corp.org - fpv.git/commitdiff
imuboard/gps: increase position reset timeout
authorOlivier Matz <zer0@droids-corp.org>
Thu, 18 Sep 2014 17:50:50 +0000 (19:50 +0200)
committerOlivier Matz <zer0@droids-corp.org>
Thu, 18 Sep 2014 17:50:50 +0000 (19:50 +0200)
imuboard/gps_venus.c

index fbb657840691386d4458a4f08f54e67326daa14c..3c089faa437d1277ce3e3e3c0642556e94988496 100644 (file)
@@ -563,7 +563,7 @@ static void gps_venus_cb(struct callout_mgr *cm, struct callout *tim, void *arg)
        }
 
        diff = ms - last_valid;
-       if (is_valid == 1 && diff > 100) {
+       if (is_valid == 1 && diff > 500) {
 
                is_valid = 0;
                /* update global structure */