Subversion Repositories FlightCtrl

Compare Revisions

Ignore whitespace Rev 1913 → Rev 1914

/trunk/fc.c
1489,7 → 1489,7
{
//if(!WaypointTrimming) SollHoehe = HoehenWert; // update setpoint to current height
//else
if(!WaypointTrimming) LIMIT_MIN_MAX(SollHoehe, (HoehenWert-128), (HoehenWert+128)); // max. 1m Unterschied
if(!WaypointTrimming) LIMIT_MIN_MAX(SollHoehe, (HoehenWert-128), (HoehenWert+128)) // max. 1m Unterschied
else WaypointTrimming = 0;
FC_StatusFlags &= ~(FC_STATUS_VARIO_TRIM_UP|FC_STATUS_VARIO_TRIM_DOWN);
HeightTrimming = 0;
/trunk/libfc1284.a
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
/trunk/main.c
324,9 → 324,10
VersionInfo.HardwareError[1] &= ~FC_ERROR1_BL_MISSING;
if(I2CTimeout > 6) DebugOut.Status[1] &= ~0x02; // BL-Error-Status
}
 
if(I2CTimeout > 6) VersionInfo.HardwareError[1] &= ~FC_ERROR1_I2C;
 
if(SenderOkay) DisableRcOffBeeping = 0;
 
if(PcZugriff) PcZugriff--;
else
{
336,12 → 337,13
ExternStickGier = 0;
if(!SenderOkay)
{
if(BeepMuster == 0xffff && !DisableRcOffBeeping)
if(BeepMuster == 0xffff && DisableRcOffBeeping != 2)
{
beeptime = 15000;
BeepMuster = 0x0c00;
if(DisableRcOffBeeping) DisableRcOffBeeping = 2;
}
} else DisableRcOffBeeping = 0;
}
}
if(NaviDataOkay > 200)
{
/trunk/rc.c
27,10 → 27,9
unsigned char i;
for(i=0;i<26;i++)
{
PPM_in[i] = 0;
if(i < 5) PPM_in[i] = 0; else PPM_in[i] = -126;
PPM_diff[i] = 0;
}
 
AdNeutralGier = 0;
AdNeutralRoll = 0;
AdNeutralNick = 0;