Subversion Repositories NaviCtrl

Rev

Rev 587 | Rev 589 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 587 Rev 588
Line 12... Line 12...
12
//#define DEBUG 0
12
//#define DEBUG 0
13
//-----------------------
13
//-----------------------
Line 14... Line 14...
14
 
14
 
15
#define VERSION_MAJOR   2
15
#define VERSION_MAJOR   2
16
#define VERSION_MINOR   9
16
#define VERSION_MINOR   9
17
#define VERSION_PATCH   1
17
#define VERSION_PATCH   2
18
// 0 = A
18
// 0 = A
19
// 1 = B
19
// 1 = B
20
// 2 = C
20
// 2 = C
21
// 3 = D
21
// 3 = D
Line 34... Line 34...
34
// 16 = Q
34
// 16 = Q
35
// 17 = R
35
// 17 = R
36
// 18 = S
36
// 18 = S
Line 37... Line 37...
37
 
37
 
38
#ifndef FOLLOW_ME
38
#ifndef FOLLOW_ME
39
#define FC_SPI_COMPATIBLE               72      //   <------------------
39
#define FC_SPI_COMPATIBLE               73      //   <------------------
40
#else
40
#else
41
#define FC_SPI_COMPATIBLE               0xFF
41
#define FC_SPI_COMPATIBLE               0xFF
Line 42... Line 42...
42
#endif
42
#endif
Line 119... Line 119...
119
#define CFG_NO_RCOFF_BEEPING                    0x10
119
#define CFG_NO_RCOFF_BEEPING                    0x10
120
#define CFG_GPS_AID                             0x20
120
#define CFG_GPS_AID                             0x20
121
#define CFG_TEACHABLE_CAREFREE                  0x40
121
#define CFG_TEACHABLE_CAREFREE                  0x40
122
#define CFG_IGNORE_MAG_ERR_AT_STARTUP   0x80
122
#define CFG_IGNORE_MAG_ERR_AT_STARTUP   0x80
Line -... Line 123...
-
 
123
 
-
 
124
// Parameter.HomeYawMode
-
 
125
#define NO_CHANGE               0
-
 
126
#define FRONT_TO_HOME   1
-
 
127
#define REAR_TO_HOME    2
-
 
128
#define LIKE_AT_START   3
123
 
129
 
124
// Parameter.ReceiverType defines for the receiver selection
130
// Parameter.ReceiverType defines for the receiver selection
125
#define RECEIVER_PPM                            0
131
#define RECEIVER_PPM                            0
126
#define RECEIVER_SPEKTRUM                       1
132
#define RECEIVER_SPEKTRUM                       1
127
#define RECEIVER_SPEKTRUM_HI_RES        2
133
#define RECEIVER_SPEKTRUM_HI_RES        2
Line 199... Line 205...
199
        u8 SingleWpSpeed;
205
        u8 SingleWpSpeed;
200
        u8 DescendRange; // in 10m
206
        u8 DescendRange; // in 10m
201
        u8 MaximumAltitude; // in m
207
        u8 MaximumAltitude; // in m
202
        u8 Driftkomp;
208
        u8 Driftkomp;
203
        u8 ReceiverType;
209
        u8 ReceiverType;
-
 
210
        u8 HomeYawMode;
204
} __attribute__((packed)) Param_t;
211
} __attribute__((packed)) Param_t;
Line 205... Line 212...
205
 
212
 
206
typedef struct
213
typedef struct
207
{
214
{