Subversion Repositories NaviCtrl

Rev

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

Rev 431 Rev 432
Line 331... Line 331...
331
         LED_RED_ON;
331
         LED_RED_ON;
332
         sprintf(ErrorMSG,"ERR:Motor restart  ");
332
         sprintf(ErrorMSG,"ERR:Motor restart  ");
333
         newErrorCode = 23;
333
         newErrorCode = 23;
334
         DebugOut.StatusRed |= AMPEL_BL;
334
         DebugOut.StatusRed |= AMPEL_BL;
335
        }
335
        }
336
        else if(BL_MinOfMaxPWM != 255 && (FC.StatusFlags & FC_STATUS_FLY) && !ErrorCode)
336
        else if(BL_MinOfMaxPWM != 255 && (BL_MinOfMaxPWM != 250) && (FC.StatusFlags & FC_STATUS_FLY) && !ErrorCode)
337
        {
337
        {
338
         LED_RED_ON;
338
         LED_RED_ON;
339
         sprintf(ErrorMSG,"ERR:BL Limitation   ");
339
         sprintf(ErrorMSG,"ERR:BL Limitation   ");
340
         newErrorCode = 24;
340
         newErrorCode = 24;
341
         DebugOut.StatusRed |= AMPEL_BL;
341
         DebugOut.StatusRed |= AMPEL_BL;
Line 552... Line 552...
552
                        if(SDCardInfo.Valid == 1) Logging_Update();  // could be block some time for at max. 2 seconds, therefore move time critical part of the mainloop into the ISR of timer 1
552
                        if(SDCardInfo.Valid == 1) Logging_Update();  // could be block some time for at max. 2 seconds, therefore move time critical part of the mainloop into the ISR of timer 1
553
                        else if(FC.StatusFlags & FC_STATUS_START) SD_LoggingError = 100;
553
                        else if(FC.StatusFlags & FC_STATUS_START) SD_LoggingError = 100;
554
                        if(!SD_WatchDog) UART1_PutString("\n\rSD-Watchdog - Logging aborted\n\r");
554
                        if(!SD_WatchDog) UART1_PutString("\n\rSD-Watchdog - Logging aborted\n\r");
555
                }
555
                }
Line 556... Line 556...
556
               
556
               
557
               
557
/*             
558
                if(CheckDelay(ftimer))
558
                if(CheckDelay(ftimer))
Line 559... Line 559...
559
                {
559
                {
560
 
560
 
Line 598... Line 598...
598
 
598
 
599
                                default:
599
                                default:
600
                                        break;
600
                                        break;
601
                        }
601
                        }
602
                }
602
                }
603
               
603
*/             
604
        }
604
        }