Rev 1707 | Rev 1720 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1707 | Rev 1719 | ||
---|---|---|---|
Line 1538... | Line 1538... | ||
1538 | LIMIT_MIN_MAX(FilterHCGas, EE_Parameter.Hoehe_MinGas * STICK_GAIN, (MAX_GAS - 20) * STICK_GAIN); |
1538 | LIMIT_MIN_MAX(FilterHCGas, EE_Parameter.Hoehe_MinGas * STICK_GAIN, (MAX_GAS - 20) * STICK_GAIN); |
1539 | // set GasMischanteil to HeightControlGasFilter |
1539 | // set GasMischanteil to HeightControlGasFilter |
1540 | if(EE_Parameter.ExtraConfig & CFG2_HEIGHT_LIMIT) |
1540 | if(EE_Parameter.ExtraConfig & CFG2_HEIGHT_LIMIT) |
1541 | { // old version |
1541 | { // old version |
1542 | LIMIT_MAX(FilterHCGas, GasMischanteil); // nicht mehr als Gas |
1542 | LIMIT_MAX(FilterHCGas, GasMischanteil); // nicht mehr als Gas |
- | 1543 | GasMischanteil = FilterHCGas; |
|
1543 | } |
1544 | } |
1544 | GasMischanteil = FilterHCGas + (GasMischanteil - HoverGas) / 4; |
1545 | else GasMischanteil = FilterHCGas + (GasMischanteil - HoverGas) / 4; // only in Vario-Mode |
1545 | } |
1546 | } |
1546 | }// EOF height control active |
1547 | }// EOF height control active |
1547 | else // HC not active |
1548 | else // HC not active |
1548 | { |
1549 | { |
1549 | //update hoover gas stick value when HC is not active |
1550 | //update hoover gas stick value when HC is not active |