Subversion Repositories FlightCtrl

Compare Revisions

Ignore whitespace Rev 2475 → Rev 2476

/trunk/main.c
62,7 → 62,6
unsigned char JetiBeep = 0; // to allow any Morse-Beeping of the Jeti-Box
unsigned char ActiveParamSet = 3;
unsigned char LipoCells = 4;
unsigned char RedundanceBlOperation = 0;
 
void PrintLine(void)
{
325,6 → 324,7
while(!CheckDelay(timer));
printf("\n\rStart\n\r");
#endif
 
while(1)
{
EEAR = EE_DUMMY; // Set the EEPROM Address pointer to an unused space
479,19 → 479,6
if(++second == 49)
{
second = 0;
/*
DebugOut.Analog[16] -= DebugOut.Analog[16] / 128;
DebugOut.Analog[17] -= DebugOut.Analog[17] / 128;
 
if(DebugOut.Analog[16] > 3000) {AdNeutralNick++; DebugOut.Analog[16] = 0;}
else
if(DebugOut.Analog[16] < -3000) {AdNeutralNick--; DebugOut.Analog[16] = 0;};
 
if(DebugOut.Analog[17] > 3000) {AdNeutralRoll++; DebugOut.Analog[17] = 0;}
else
if(DebugOut.Analog[17] < -3000) {AdNeutralRoll--; DebugOut.Analog[17] = 0;};
*/
 
#if (defined(__AVR_ATmega1284__) || defined(__AVR_ATmega1284P__))
if(ShowSettingNameTime) ShowSettingNameTime--;
#endif