Subversion Repositories NaviCtrl

Rev

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

Rev 427 Rev 454
Line 281... Line 281...
281
        static u32 last_itow = 0;
281
        static u32 last_itow = 0;
Line 282... Line 282...
282
 
282
 
283
        // if a new set of ubx messages was collected
283
        // if a new set of ubx messages was collected
284
        if((UbxSol.Status == NEWDATA) && (UbxPosLlh.Status == NEWDATA) && (UbxVelNed.Status == NEWDATA))
284
        if((UbxSol.Status == NEWDATA) && (UbxPosLlh.Status == NEWDATA) && (UbxVelNed.Status == NEWDATA))
-
 
285
        {       // and the itow is equal (same time base)
285
        {       // and the itow is equal (same time base)
286
                UART_VersionInfo.Flags |= NC_VERSION_FLAG_GPS_PRESENT;
286
                if((UbxSol.itow == UbxPosLlh.itow) && (UbxPosLlh.itow == UbxVelNed.itow))
287
                if((UbxSol.itow == UbxPosLlh.itow) && (UbxPosLlh.itow == UbxVelNed.itow))
287
                {
288
                {
288
                        UBX_Timeout = SetDelay(UBX_TIMEOUT);
289
                        UBX_Timeout = SetDelay(UBX_TIMEOUT);
289
                        DebugOut.Analog[9]++;
290
                        DebugOut.Analog[9]++;