Subversion Repositories NaviCtrl

Compare Revisions

Ignore whitespace Rev 212 → Rev 213

/trunk/analog.c
78,7 → 78,6
AnalogData.Ch7 = ADC_GetConversionValue(ADC_Channel_7);
DebugOut.Analog[4] = AnalogData.Ch1;
}
 
IDISABLE;
}
 
/trunk/main.c
176,7 → 176,7
LED_RED_ON;
sprintf(ErrorMSG,"FC spi rx error ");
ErrorCode = 8;
StopNavigation = 1;
StopNavigation = 1;
}
else if(FC.RC_Quality < 100)
{
194,7 → 194,7
}
 
// the handler will be cyclic called by the timer 1 ISR
// used is for critical timing parts that normaly would handled
// used is for critical timing parts that normaly would handled
// within the main loop that could block longer at logging activities
void EXTIT3_IRQHandler(void)
{
202,7 → 202,7
 
VIC_ITCmd(EXTIT3_ITLine,DISABLE); // disable irq
VIC_SWITCmd(EXTIT3_ITLine,DISABLE); // clear pending bit
I2C1_UpdateCompass(); // update compass communication
I2C1_UpdateCompass(); // update compass communication
Analog_Update(); // get new ADC values
VIC_ITCmd(EXTIT3_ITLine, ENABLE); // enable irq
 
274,8 → 274,8
 
GPS_Init();
// initialize fat16 partition on sd card (needs Timer 1)
// ---------- Prepare the isr driven
 
// ---------- Prepare the isr driven
// set to absolute lowest priority
VIC_Config(EXTIT3_ITLine, VIC_IRQ, PRIORITY_SW);
// enable interrupts
/trunk/menu.c
232,7 → 232,7
break;
case 5: // Navi Params 2 from FC
LCD_printfxy(0,0,"Stick TS: %3i", Parameter.NaviStickThreshold);
LCD_printfxy(0,1,"MaxRadius: %3i m", Parameter.NaviOperatingRadius);
LCD_printfxy(0,1,"MaxRadius: %3i m", NaviData.OperatingRadius);
LCD_printfxy(0,2,"WindCorr: %3i", Parameter.NaviWindCorrection);
LCD_printfxy(0,3,"SpeedComp: %3i", Parameter.NaviSpeedCompensation);
break;