Rev 2447 | Rev 2492 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 2447 | Rev 2482 | ||
---|---|---|---|
Line 29... | Line 29... | ||
29 | #define FC_STATUS2_OUT2_ACTIVE 0x10 |
29 | #define FC_STATUS2_OUT2_ACTIVE 0x10 |
30 | #define FC_STATUS2_WAIT_FOR_TAKEOFF 0x20 // Motor Running, but still on the ground |
30 | #define FC_STATUS2_WAIT_FOR_TAKEOFF 0x20 // Motor Running, but still on the ground |
31 | #define FC_STATUS2_AUTO_STARTING 0x40 |
31 | #define FC_STATUS2_AUTO_STARTING 0x40 |
32 | #define FC_STATUS2_AUTO_LANDING 0x80 |
32 | #define FC_STATUS2_AUTO_LANDING 0x80 |
Line -... | Line 33... | ||
- | 33 | ||
- | 34 | // FC_StatusFlags3 |
|
- | 35 | #define FC_STATUS3_REDUNDANCE 0x01 |
|
- | 36 | #define FC_STATUS3_BOAT 0x02 |
|
33 | 37 | ||
34 | //NC_To_FC_Flags |
38 | //NC_To_FC_Flags |
35 | #define NC_TO_FC_FLYING_RANGE 0x01 |
39 | #define NC_TO_FC_FLYING_RANGE 0x01 |
36 | #define NC_TO_FC_EMERGENCY_LANDING 0x02 |
40 | #define NC_TO_FC_EMERGENCY_LANDING 0x02 |
37 | #define NC_TO_FC_AUTOSTART 0x04 |
41 | #define NC_TO_FC_AUTOSTART 0x04 |
- | 42 | #define NC_TO_FC_AUTOLANDING 0x08 // not used |
|
Line 38... | Line 43... | ||
38 | #define NC_TO_FC_AUTOLANDING 0x08 // not used |
43 | #define NC_TO_FC_SIMULATION_ACTIVE 0x10 // don't start motors |
- | 44 | ||
39 | 45 | extern volatile unsigned char FC_StatusFlags, FC_StatusFlags2; |
|
40 | extern volatile unsigned char FC_StatusFlags, FC_StatusFlags2; |
46 | extern unsigned char FC_StatusFlags3; |
Line 41... | Line 47... | ||
41 | extern void ParameterZuordnung(void); |
47 | extern void ParameterZuordnung(void); |
42 | extern unsigned char GetChannelValue(unsigned char ch); // gives the unsigned value of the channel |
48 | extern unsigned char GetChannelValue(unsigned char ch); // gives the unsigned value of the channel |
Line 59... | Line 65... | ||
59 | #define CHK_POTI_MM(b,a,min,max) {CHK_POTI(b,a); LIMIT_MIN_MAX(b, min, max);} |
65 | #define CHK_POTI_MM(b,a,min,max) {CHK_POTI(b,a); LIMIT_MIN_MAX(b, min, max);} |
60 | #define CHK_POTI_MM_OFF(b,a,min,max,off) {CHK_POTI_OFF(b,a,off); LIMIT_MIN_MAX(b, min, max);} |
66 | #define CHK_POTI_MM_OFF(b,a,min,max,off) {CHK_POTI_OFF(b,a,off); LIMIT_MIN_MAX(b, min, max);} |
Line 61... | Line 67... | ||
61 | 67 | ||
62 | extern unsigned char Sekunde,Minute; |
68 | extern unsigned char Sekunde,Minute; |
63 | extern unsigned int BaroExpandActive; |
69 | extern unsigned int BaroExpandActive; |
64 | extern long IntegralNick,IntegralNick2; |
70 | extern long IntegralNick;//,IntegralNick2; |
65 | extern long IntegralRoll,IntegralRoll2; |
71 | extern long IntegralRoll;//,IntegralRoll2; |
66 | //extern int IntegralNick,IntegralNick2; |
72 | //extern int IntegralNick,IntegralNick2; |
67 | //extern int IntegralRoll,IntegralRoll2; |
73 | //extern int IntegralRoll,IntegralRoll2; |
Line 68... | Line 74... | ||
68 | extern unsigned char Poti[9]; |
74 | extern unsigned char Poti[9]; |
69 | 75 | ||
70 | extern long Mess_IntegralNick,Mess_IntegralNick2; |
76 | extern long Mess_IntegralNick;//,Mess_IntegralNick2; |
71 | extern long Mess_IntegralRoll,Mess_IntegralRoll2; |
77 | extern long Mess_IntegralRoll;//,Mess_IntegralRoll2; |
72 | extern long IntegralAccNick,IntegralAccRoll; |
78 | extern long IntegralAccNick,IntegralAccRoll; |
73 | extern long SummeNick,SummeRoll; |
79 | extern long SummeNick,SummeRoll; |
74 | extern volatile long Mess_Integral_Hoch; |
80 | extern volatile long Mess_Integral_Hoch; |