Subversion Repositories FlightCtrl

Compare Revisions

Ignore whitespace Rev 1270 → Rev 1271

/trunk/led.c
29,7 → 29,7
{
delay = 4;
 
if(MikroKopterFlags & FLAG_LOWBAT)
if(MikroKopterFlags & FLAG_LOWBAT || SenderOkay < 128)
{
J16Bitmask = EE_Parameter.WARN_J16_Bitmask;
J17Bitmask = EE_Parameter.WARN_J17_Bitmask;
/trunk/rc.c
80,7 → 80,12
{
signal -= 466;
// Stabiles Signal
if((abs(signal - ppm_in[index]) < 6) && okay_cnt > 30) { if(SenderOkay < 200) SenderOkay += 5; else SenderOkay = 200;}
if((abs(signal - ppm_in[index]) < 6))
{
if(okay_cnt > 25) { if(SenderOkay < 200) SenderOkay += 10; else SenderOkay = 200;}
else
if(okay_cnt > 10) { if(SenderOkay < 200) SenderOkay += 2; else SenderOkay = 200;}
}
tmp = (3 * (ppm_in[index]) + signal) / 4;
if(tmp > signal+1) tmp--; else
if(tmp < signal-1) tmp++;
107,6 → 112,7
}
}
DebugOut.Analog[16] = okay_cnt;
DebugOut.Analog[17] = PPM_in[2];
}
 
/*
/trunk/version.txt
279,4 → 279,5
0.75d H.Buss 13.8.2009
- RC-Routine: Empfangsausfall soll sicherer erkannt werden
- Zellenerkennung nun auch beim Speichern der Settings
- Warnungs-Blinkmaske auch bei Empfangsausfall