Rev 738 | Rev 746 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 738 | Rev 739 | ||
---|---|---|---|
Line 395... | Line 395... | ||
395 | sprintf(ErrorMSG,"ERR:SD Logging abort"); |
395 | sprintf(ErrorMSG,"ERR:SD Logging abort"); |
396 | newErrorCode = 27; |
396 | newErrorCode = 27; |
397 | DebugOut.StatusRed |= AMPEL_NC; |
397 | DebugOut.StatusRed |= AMPEL_NC; |
398 | SD_LoggingError = 0; |
398 | SD_LoggingError = 0; |
399 | } |
399 | } |
400 | else if(((AbsoluteFlyingAltitude) && (NaviData.Altimeter_20cm / 20 >= AbsoluteFlyingAltitude)) && (FC.StatusFlags & FC_STATUS_FLY)) |
400 | else if(((AbsoluteFlyingAltitude) && (NaviData.Altimeter_5cm / 20 >= AbsoluteFlyingAltitude)) && (FC.StatusFlags & FC_STATUS_FLY)) |
401 | { |
401 | { |
402 | LED_RED_ON; |
402 | LED_RED_ON; |
403 | sprintf(ErrorMSG,"ERR:Max Altitude "); |
403 | sprintf(ErrorMSG,"ERR:Max Altitude "); |
404 | newErrorCode = 29; |
404 | newErrorCode = 29; |
405 | DebugOut.StatusRed |= AMPEL_NC; |
405 | DebugOut.StatusRed |= AMPEL_NC; |