Rev 2462 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 2462 | Rev 2466 | ||
---|---|---|---|
Line 1911... | Line 1911... | ||
1911 | if(BaroExpandActive) SollHoehe = HoehenWertF; // update setpoint to current altitude if Expanding is active |
1911 | if(BaroExpandActive) SollHoehe = HoehenWertF; // update setpoint to current altitude if Expanding is active |
1912 | } //if FCFlags & MKFCFLAG_FLY |
1912 | } //if FCFlags & MKFCFLAG_FLY |
1913 | else |
1913 | else |
1914 | { |
1914 | { |
1915 | SollHoehe = HoehenWert - 2000; |
1915 | SollHoehe = HoehenWert - 2000; |
- | 1916 | #if (defined(__AVR_ATmega1284__) || defined(__AVR_ATmega1284P__)) |
|
1916 | ACC_AltitudeFusion(1); // init the ACC and Altitude fusion |
1917 | ACC_AltitudeFusion(1); // init the ACC and Altitude fusion |
- | 1918 | #endif |
|
1917 | if(EE_Parameter.Hoehe_StickNeutralPoint) StickGasHover = EE_Parameter.Hoehe_StickNeutralPoint; |
1919 | if(EE_Parameter.Hoehe_StickNeutralPoint) StickGasHover = EE_Parameter.Hoehe_StickNeutralPoint; |
1918 | else StickGasHover = 127; |
1920 | else StickGasHover = 127; |
1919 | HoverGas = GasMischanteil; |
1921 | HoverGas = GasMischanteil; |
1920 | VarioCharacter = '.'; |
1922 | VarioCharacter = '.'; |
1921 | } |
1923 | } |