Subversion Repositories NaviCtrl

Rev

Rev 75 | Rev 77 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 75 Rev 76
Line 335... Line 335...
335
                if(CheckDelay(TimerCheckError))
335
                if(CheckDelay(TimerCheckError))
336
                {
336
                {
337
                        if(!CheckSPIOkay) GPS_Navigation(); // process the GPS data even if the FC is not connected
337
                        if(!CheckSPIOkay) GPS_Navigation(); // process the GPS data even if the FC is not connected
338
                        CheckErrors();
338
                        CheckErrors();
339
                        if(FC.MKFlags & MKFLAG_FLY) NaviData.FlyingTime++;
339
                        if(FC.MKFlags & MKFLAG_FLY) NaviData.FlyingTime++;
-
 
340
                        else NaviData.FlyingTime = 0;
340
                        TimerCheckError = SetDelay(1000);
341
                        TimerCheckError = SetDelay(1000);
341
                        Request_SendFollowMe = TRUE;
342
                        Request_SendFollowMe = TRUE;
342
                }
343
                }
343
                // ---------------- KML Timing ------------------------------------
344
                // ---------------- KML Timing ------------------------------------
344
                if(CheckDelay(TimerKmlAddPointDelay))
345
                if(CheckDelay(TimerKmlAddPointDelay))