Subversion Repositories FlightCtrl

Rev

Rev 2176 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 2176 Rev 2177
Line 46... Line 46...
46
#define CHK_POTI(b,a) {if(a < 248) b = a; else b = Poti[255 - a];}
46
#define CHK_POTI(b,a) {if(a < 248) b = a; else b = Poti[255 - a];}
47
#define CHK_POTI_OFF(b,a,off) {if(a < 248) b = a; else b = Poti[255 - a] - off;}
47
#define CHK_POTI_OFF(b,a,off) {if(a < 248) b = a; else b = Poti[255 - a] - off;}
48
#define CHK_POTI_MM(b,a,min,max) {CHK_POTI(b,a); LIMIT_MIN_MAX(b, min, max);}
48
#define CHK_POTI_MM(b,a,min,max) {CHK_POTI(b,a); LIMIT_MIN_MAX(b, min, max);}
49
#define CHK_POTI_MM_OFF(b,a,min,max,off) {CHK_POTI_OFF(b,a,off); LIMIT_MIN_MAX(b, min, max);}
49
#define CHK_POTI_MM_OFF(b,a,min,max,off) {CHK_POTI_OFF(b,a,off); LIMIT_MIN_MAX(b, min, max);}
Line -... Line 50...
-
 
50
 
-
 
51
/// MartinW; added vars
-
 
52
extern unsigned char Motors[12]; //MartinR: sicherheitshalber geändert (war 8) 
-
 
53
unsigned char Motorsmax[12]; //MartinR: sicherheitshalber geändert (war 8)
-
 
54
unsigned short MotorsTmax;
-
 
55
extern unsigned char updatemotors;
-
 
56
extern unsigned char loop1, loop2, loop3;
-
 
57
extern unsigned char settingdest;
-
 
58
extern char keynumber;
-
 
59
extern unsigned short CurrentOffset;///
-
 
60
extern signed char jetivalue1,jetivalue2,jetivalue3,jetivalue4;
-
 
61
 
-
 
62
extern int degreeold;
-
 
63
extern int degreedivold;
-
 
64
extern int degreediv;
-
 
65
extern unsigned int panograd;
-
 
66
extern unsigned char panotrigger;
-
 
67
extern int StickGas;
-
 
68
extern unsigned char calibration_done;
-
 
69
extern unsigned char jetibeepcode[];
-
 
70
/// MartinW; added vars
-
 
71
 
50
 
72
 
51
extern unsigned char Sekunde,Minute;
73
extern unsigned char Sekunde,Minute;
52
extern unsigned int BaroExpandActive;
74
extern unsigned int BaroExpandActive;
53
extern long IntegralNick,IntegralNick2;
75
extern long IntegralNick,IntegralNick2;
54
extern long IntegralRoll,IntegralRoll2;
76
extern long IntegralRoll,IntegralRoll2;
55
//extern int IntegralNick,IntegralNick2;
77
//extern int IntegralNick,IntegralNick2;
56
//extern int IntegralRoll,IntegralRoll2;
78
//extern int IntegralRoll,IntegralRoll2;
-
 
79
extern unsigned char Poti[9];
Line 57... Line 80...
57
extern unsigned char Poti[9];
80
extern unsigned char jetistepstep[], jetistep;
58
 
81
 
59
extern long Mess_IntegralNick,Mess_IntegralNick2;
82
extern long Mess_IntegralNick,Mess_IntegralNick2;
60
extern long Mess_IntegralRoll,Mess_IntegralRoll2;
83
extern long Mess_IntegralRoll,Mess_IntegralRoll2;
Line 127... Line 150...
127
extern unsigned char Parameter_J16Timing;              // for the J16 Output
150
extern unsigned char Parameter_J16Timing;              // for the J16 Output
128
extern unsigned char Parameter_J17Bitmask;             // for the J17 Output
151
extern unsigned char Parameter_J17Bitmask;             // for the J17 Output
129
extern unsigned char Parameter_J17Timing;              // for the J17 Output
152
extern unsigned char Parameter_J17Timing;              // for the J17 Output
130
extern unsigned char Parameter_GlobalConfig;
153
extern unsigned char Parameter_GlobalConfig;
131
extern unsigned char Parameter_ExtraConfig;
154
extern unsigned char Parameter_ExtraConfig;
-
 
155
extern unsigned char Parameter_NaviGpsModeControl;     // MartinR: wird wiederverwendet für GPS free bei HH
132
extern signed char MixerTable[MAX_MOTORS][4];
156
extern signed char MixerTable[MAX_MOTORS][4];
133
extern const signed char sintab[31];
157
//extern const signed char sintab[31]; // MartinR: so war es
-
 
158
extern const signed char sintab[62]; // MartinR: für feinere Auflösung
134
#endif //_FC_H
159
#endif //_FC_H