Subversion Repositories FlightCtrl

Rev

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

Rev 2330 Rev 2333
Line 57... Line 57...
57
unsigned int FlugMinuten = 0,FlugMinutenGesamt = 0;
57
unsigned int FlugMinuten = 0,FlugMinutenGesamt = 0;
58
unsigned int FlugSekunden = 0;
58
unsigned int FlugSekunden = 0;
59
pVoidFnct_pVoidFnctChar_const_fmt _printf_P;
59
pVoidFnct_pVoidFnctChar_const_fmt _printf_P;
60
unsigned char FoundMotors = 0;
60
unsigned char FoundMotors = 0;
61
unsigned char JetiBeep = 0; // to allow any Morse-Beeping of the Jeti-Box
61
unsigned char JetiBeep = 0; // to allow any Morse-Beeping of the Jeti-Box
-
 
62
unsigned char ActiveParamSet = 3;
Line 62... Line 63...
62
 
63
 
63
void PrintLine(void)
64
void PrintLine(void)
64
{
65
{
65
 printf("\n\r===================================");
66
 printf("\n\r===================================");
Line 275... Line 276...
275
 
276
 
276
        Debug(ANSI_CLEAR "FC-Start!\n\rFlugzeit: %d min", FlugMinutenGesamt);   // Note: this won't waste flash memory, if #DEBUG is not active
277
        Debug(ANSI_CLEAR "FC-Start!\n\rFlugzeit: %d min", FlugMinutenGesamt);   // Note: this won't waste flash memory, if #DEBUG is not active
277
    DebugOut.Status[0] = 0x01 | 0x02;
278
    DebugOut.Status[0] = 0x01 | 0x02;
278
        JetiBeep = 0;
279
        JetiBeep = 0;
-
 
280
    if(EE_Parameter.ExtraConfig & CFG_NO_RCOFF_BEEPING)   DisableRcOffBeeping = 1;
279
    if(EE_Parameter.ExtraConfig & CFG_NO_RCOFF_BEEPING)   DisableRcOffBeeping = 1;
281
        EEAR = EE_DUMMY;  // Set the EEPROM Address pointer to an unused space
280
        while(1)
282
        while(1)
281
        {
283
        {
282
        if(ReceiverUpdateModeActive) while (1) PORTC &= ~(1<<7); // Beeper off
-
 
283
        EEAR = EE_DUMMY;  // Set the EEPROM Address pointer to an unused space
284
        if(ReceiverUpdateModeActive) while (1) PORTC &= ~(1<<7); // Beeper off
284
//GRN_ON;
285
//GRN_ON;
285
        if(UpdateMotor && AdReady)      // ReglerIntervall
286
        if(UpdateMotor && AdReady)      // ReglerIntervall
286
            {
287
            {
287
//GRN_OFF;
288
//GRN_OFF;
Line 410... Line 411...
410
                                }
411
                                }
411
                                else if(!beeptime) FC_StatusFlags &= ~FC_STATUS_LOWBAT;
412
                                else if(!beeptime) FC_StatusFlags &= ~FC_STATUS_LOWBAT;
Line 412... Line 413...
412
 
413
 
413
                                SPI_StartTransmitPacket();
414
                                SPI_StartTransmitPacket();
-
 
415
                                SendSPI = 4;
414
                                SendSPI = 4;
416
                                EEAR = EE_DUMMY;  // Set the EEPROM Address pointer to an unused space
415
                                // +++++++++++++++++++++++++++++++++
417
                                // +++++++++++++++++++++++++++++++++
416
                                // Sekundentakt
418
                                // Sekundentakt
417
                if(++second == 49)
419
                if(++second == 49)
418
                                 {
420
                                 {