Rev 1352 | Rev 1403 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1352 | Rev 1377 | ||
---|---|---|---|
Line 14... | Line 14... | ||
14 | #define FLAG_CALIBRATE 4 |
14 | #define FLAG_CALIBRATE 4 |
15 | #define FLAG_START 8 |
15 | #define FLAG_START 8 |
16 | #define FLAG_NOTLANDUNG 16 |
16 | #define FLAG_NOTLANDUNG 16 |
17 | #define FLAG_LOWBAT 32 |
17 | #define FLAG_LOWBAT 32 |
Line -... | Line 18... | ||
- | 18 | ||
- | 19 | #define Poti1 Poti[0] |
|
- | 20 | #define Poti2 Poti[1] |
|
- | 21 | #define Poti3 Poti[2] |
|
- | 22 | #define Poti4 Poti[3] |
|
- | 23 | #define Poti5 Poti[4] |
|
- | 24 | #define Poti6 Poti[5] |
|
- | 25 | #define Poti7 Poti[6] |
|
Line 18... | Line 26... | ||
18 | 26 | #define Poti8 Poti[7] |
|
Line 19... | Line 27... | ||
19 | 27 | ||
Line 27... | Line 35... | ||
27 | extern unsigned int BaroExpandActive; |
35 | extern unsigned int BaroExpandActive; |
28 | extern long IntegralNick,IntegralNick2; |
36 | extern long IntegralNick,IntegralNick2; |
29 | extern long IntegralRoll,IntegralRoll2; |
37 | extern long IntegralRoll,IntegralRoll2; |
30 | //extern int IntegralNick,IntegralNick2; |
38 | //extern int IntegralNick,IntegralNick2; |
31 | //extern int IntegralRoll,IntegralRoll2; |
39 | //extern int IntegralRoll,IntegralRoll2; |
- | 40 | extern unsigned char Poti[9]; |
|
Line 32... | Line 41... | ||
32 | 41 | ||
33 | extern long Mess_IntegralNick,Mess_IntegralNick2; |
42 | extern long Mess_IntegralNick,Mess_IntegralNick2; |
34 | extern long Mess_IntegralRoll,Mess_IntegralRoll2; |
43 | extern long Mess_IntegralRoll,Mess_IntegralRoll2; |
35 | extern long IntegralAccNick,IntegralAccRoll; |
44 | extern long IntegralAccNick,IntegralAccRoll; |
Line 62... | Line 71... | ||
62 | 71 | ||
63 | extern unsigned char h,m,s; |
72 | extern unsigned char h,m,s; |
64 | extern volatile unsigned char Timeout ; |
73 | extern volatile unsigned char Timeout ; |
65 | extern unsigned char CosinusNickWinkel, CosinusRollWinkel; |
74 | extern unsigned char CosinusNickWinkel, CosinusRollWinkel; |
66 | extern int DiffNick,DiffRoll; |
75 | extern int DiffNick,DiffRoll; |
67 | extern int Poti1, Poti2, Poti3, Poti4; |
76 | //extern int Poti1, Poti2, Poti3, Poti4; |
68 | extern volatile unsigned char SenderOkay; |
77 | extern volatile unsigned char SenderOkay; |
69 | extern volatile unsigned char SenderRSSI; |
78 | extern volatile unsigned char SenderRSSI; |
70 | extern unsigned char RequiredMotors; |
79 | extern unsigned char RequiredMotors; |
71 | extern int StickNick,StickRoll,StickGier; |
80 | extern int StickNick,StickRoll,StickGier; |
Line 76... | Line 85... | ||
76 | extern void DefaultStickMapping(void); |
85 | extern void DefaultStickMapping(void); |
Line 77... | Line 86... | ||
77 | 86 | ||
78 | #define STRUCT_PARAM_LAENGE sizeof(EE_Parameter) |
87 | #define STRUCT_PARAM_LAENGE sizeof(EE_Parameter) |
79 | struct mk_param_struct |
88 | struct mk_param_struct |
80 | { |
89 | { |
81 | unsigned char Kanalbelegung[8]; // GAS[0], GIER[1],NICK[2], ROLL[3], POTI1, POTI2, POTI3 |
90 | unsigned char Kanalbelegung[12]; // GAS[0], GIER[1],NICK[2], ROLL[3], POTI1, POTI2, POTI3 |
82 | unsigned char GlobalConfig; // 0x01=Höhenregler aktiv,0x02=Kompass aktiv, 0x04=GPS aktiv, 0x08=Heading Hold aktiv |
91 | unsigned char GlobalConfig; // 0x01=Höhenregler aktiv,0x02=Kompass aktiv, 0x04=GPS aktiv, 0x08=Heading Hold aktiv |
83 | unsigned char Hoehe_MinGas; // Wert : 0-100 |
92 | unsigned char Hoehe_MinGas; // Wert : 0-100 |
84 | unsigned char Luftdruck_D; // Wert : 0-250 |
93 | unsigned char Luftdruck_D; // Wert : 0-250 |
85 | unsigned char MaxHoehe; // Wert : 0-32 |
94 | unsigned char MaxHoehe; // Wert : 0-32 |