Subversion Repositories FlightCtrl

Compare Revisions

Ignore whitespace Rev 861 → Rev 862

/branches/V0.68d_DarkMod/fc.c
435,11 → 435,12
{
if(!PcZugriff)
{
/*
if(BeepMuster == 0xffff)
{
beeptime = 15000;
BeepMuster = 0x0c00;
}
}*/
}
if(RcLostTimer) RcLostTimer--;
else
537,7 → 538,7
if(PPM_in[EE_Parameter.Kanalbelegung[K_GAS]] < 35-120)
{
// Starten
if(PPM_in[EE_Parameter.Kanalbelegung[K_GIER]] < -75)
if(PPM_in[EE_Parameter.Kanalbelegung[K_GIER]] < -75 && PPM_in[EE_Parameter.Kanalbelegung[K_POTI4]] > 120)
{
// +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
// Einschalten
563,12 → 564,13
// +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
// Auschalten
// +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
if(PPM_in[EE_Parameter.Kanalbelegung[K_GIER]] > 75)
if(PPM_in[EE_Parameter.Kanalbelegung[K_POTI4]]<20)
{
if(++delay_ausschalten > 200) // nicht sofort
if(++delay_ausschalten > 100) // nicht sofort
{
MotorenEin = 0;
delay_ausschalten = 200;
delay_ausschalten = 100;
modell_fliegt = 0;
}
}