Rev 623 | Rev 626 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 623 | Rev 625 | ||
---|---|---|---|
Line 134... | Line 134... | ||
134 | s16 CompassSetpoint = 0; // in 0,1° |
134 | s16 CompassSetpoint = 0; // in 0,1° |
135 | s16 SimulatedDirection = 0; // only for flight simulation |
135 | s16 SimulatedDirection = 0; // only for flight simulation |
136 | u8 AmountOfMotors = 0; |
136 | u8 AmountOfMotors = 0; |
137 | u16 FlugMinutenGesamt; |
137 | u16 FlugMinutenGesamt; |
138 | u8 HoverGas = 0; |
138 | u8 HoverGas = 0; |
- | 139 | u8 LowVoltageLandingActive = 0; |
|
139 | //-------------------------------------------------------------- |
140 | //-------------------------------------------------------------- |
140 | void SSP0_IRQHandler(void) |
141 | void SSP0_IRQHandler(void) |
141 | { |
142 | { |
142 | static u8 rxchksum = 0; |
143 | static u8 rxchksum = 0; |
143 | u8 rxdata; |
144 | u8 rxdata; |
Line 850... | Line 851... | ||
850 | Parameter.MaximumAltitude = FromFlightCtrl.Param.Byte[3]; |
851 | Parameter.MaximumAltitude = FromFlightCtrl.Param.Byte[3]; |
851 | ServoParams.CompInvert = FromFlightCtrl.Param.Byte[4]; |
852 | ServoParams.CompInvert = FromFlightCtrl.Param.Byte[4]; |
852 | Parameter.HomeYawMode = ((ServoParams.CompInvert & 0x18) >> 3); |
853 | Parameter.HomeYawMode = ((ServoParams.CompInvert & 0x18) >> 3); |
853 | NaviData_Home.LipoCellCount = FromFlightCtrl.Param.Byte[5]; |
854 | NaviData_Home.LipoCellCount = FromFlightCtrl.Param.Byte[5]; |
854 | NaviData_Volatile.ShutterCounter = FromFlightCtrl.Param.Int[3]; // 6 & 7 |
855 | NaviData_Volatile.ShutterCounter = FromFlightCtrl.Param.Int[3]; // 6 & 7 |
- | 856 | LowVoltageLandingActive = FromFlightCtrl.Param.Byte[8]; |
|
855 | // DebugOut.Analog[] = NaviData_Volatile.ShutterCounter; |
857 | // DebugOut.Analog[] = NaviData_Volatile.ShutterCounter; |
856 | // 8 |
858 | // 8 |
857 | // 9 |
859 | // 9 |
858 | // 10 |
860 | // 10 |
859 | // 11 |
861 | // 11 |