Subversion Repositories NaviCtrl

Rev

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

Rev 351 Rev 355
Line 338... Line 338...
338
         sprintf(ErrorMSG,"ERR:SD Logging aborted");
338
         sprintf(ErrorMSG,"ERR:SD Logging aborted");
339
         newErrorCode = 27;
339
         newErrorCode = 27;
340
         DebugOut.StatusRed |= AMPEL_NC;
340
         DebugOut.StatusRed |= AMPEL_NC;
341
         SD_LoggingError = 0;
341
         SD_LoggingError = 0;
342
        }
342
        }
-
 
343
        else if(((AbsoluteFlyingAltitude) && (NaviData.Altimeter / 20 >= AbsoluteFlyingAltitude)) && (FC.StatusFlags & FC_STATUS_FLY))
-
 
344
        {
-
 
345
         LED_RED_ON;
-
 
346
         sprintf(ErrorMSG,"ERR:Max Altitude ");
-
 
347
         newErrorCode = 29;
-
 
348
         DebugOut.StatusRed |= AMPEL_NC;
-
 
349
        }
343
        else // no error occured
350
        else // no error occured
344
        {
351
        {
345
                StopNavigation = 0;
352
                StopNavigation = 0;
346
                LED_RED_OFF;
353
                LED_RED_OFF;
347
                if(no_error_delay) { no_error_delay--;  }
354
                if(no_error_delay) { no_error_delay--;  }