Subversion Repositories NaviCtrl

Rev

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

Rev 594 Rev 615
Line 391... Line 391...
391
        {
391
        {
392
                LED_RED_ON;
392
                LED_RED_ON;
393
                sprintf(ErrorMSG,"No GPS Fix      ");
393
                sprintf(ErrorMSG,"No GPS Fix      ");
394
                newErrorCode = 30;
394
                newErrorCode = 30;
395
        }
395
        }
-
 
396
        else if(NC_GPS_ModeCharacter == 'F')
-
 
397
        {                                                                
-
 
398
                sprintf(ErrorMSG,"FAILSAFE pos.!  ");
-
 
399
                newErrorCode = 35;
-
 
400
        }
-
 
401
        else if(FC.StatusFlags3 & FC_STATUS3_REDUNDANCE_ERROR)
-
 
402
        {                                                                
-
 
403
                sprintf(ErrorMSG,"ERR:Redundancy  ");
-
 
404
                newErrorCode = 36;
-
 
405
        }
-
 
406
        else if(FC.StatusFlags3 & FC_STATUS3_REDUNDANCE_TEST)
-
 
407
        {                                                                
-
 
408
                sprintf(ErrorMSG,"Redundancy test ");
-
 
409
                newErrorCode = 37;
-
 
410
        }
396
        else // no error occured
411
        else // no error occured
397
        {
412
        {
398
                StopNavigation = 0;
413
                StopNavigation = 0;
399
                LED_RED_OFF;
414
                LED_RED_OFF;
400
                if(no_error_delay) { no_error_delay--;  }
415
                if(no_error_delay) { no_error_delay--;  }