Subversion Repositories NaviCtrl

Rev

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

Rev 491 Rev 492
Line 479... Line 479...
479
// within the main loop that could block longer at logging activities
479
// within the main loop that could block longer at logging activities
480
void EXTIT3_IRQHandler(void)  // 1ms - Takt
480
void EXTIT3_IRQHandler(void)  // 1ms - Takt
481
{
481
{
482
        IENABLE;
482
        IENABLE;
483
        VIC_ITCmd(EXTIT3_ITLine,DISABLE); // disable irq
483
        VIC_ITCmd(EXTIT3_ITLine,DISABLE); // disable irq
484
        //Compass_Update();             // update compass communication
-
 
485
        //Analog_Update();              // get new ADC values
-
 
Line 486... Line 484...
486
 
484
 
487
        if(PollingTimeout == 0)
485
        if(PollingTimeout == 0)
488
        {
486
        {
489
                PollingTimeout = 5;
487
                PollingTimeout = 5;
Line 599... Line 597...
599
                        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
597
                        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
600
                        else if(FC.StatusFlags & FC_STATUS_START) SD_LoggingError = 100;
598
                        else if(FC.StatusFlags & FC_STATUS_START) SD_LoggingError = 100;
601
                        if(!SD_WatchDog) UART1_PutString("\n\rSD-Watchdog - Logging aborted\n\r");
599
                        if(!SD_WatchDog) UART1_PutString("\n\rSD-Watchdog - Logging aborted\n\r");
602
                }
600
                }
Line -... Line 601...
-
 
601
 
-
 
602
 
603
 
603
 
604
/*
604
/*
605
                if(CheckDelay(ftimer))
605
                if(CheckDelay(ftimer))
Line 606... Line 606...
606
                {
606
                {