Subversion Repositories FlightCtrl

Compare Revisions

Regard whitespace Rev 1313 → Rev 1314

/trunk/fc.c
1414,7 → 1414,7
HCGas -= tmp_int;
 
// limit deviation from hoover point within the target region
if( (!HeightTrimming) && (HooverGas > 0)) // height setpoint is not changed and hoover gas not zero
if( (abs(HeightDeviation) < 150) && (!HeightTrimming) && (HooverGas > 0)) // height setpoint is not changed and hoover gas not zero
{
LIMIT_MIN_MAX(HCGas, HooverGasMin, HooverGasMax); // limit gas around the hoover point
}