Rev 1338 | Rev 1352 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1338 | Rev 1350 | ||
---|---|---|---|
Line 744... | Line 744... | ||
744 | 744 | ||
745 | StickGier = -PPM_in[EE_Parameter.Kanalbelegung[K_GIER]]; |
745 | StickGier = -PPM_in[EE_Parameter.Kanalbelegung[K_GIER]]; |
746 | if(StickGier > 2) StickGier -= 2; else |
746 | if(StickGier > 2) StickGier -= 2; else |
Line 747... | Line 747... | ||
747 | if(StickGier < -2) StickGier += 2; else StickGier = 0; |
747 | if(StickGier < -2) StickGier += 2; else StickGier = 0; |
Line 748... | Line 748... | ||
748 | 748 | ||
749 | StickGas = (StickGas + PPM_in[EE_Parameter.Kanalbelegung[K_GAS]] + 120) / 2; |
749 | StickGas = PPM_in[EE_Parameter.Kanalbelegung[K_GAS]] + 120; |
750 | 750 | ||
751 | GyroFaktor = (Parameter_Gyro_P + 10.0); |
751 | GyroFaktor = (Parameter_Gyro_P + 10.0); |