Rev 330 | Rev 338 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 330 | Rev 331 | ||
---|---|---|---|
Line 12... | Line 12... | ||
12 | //#define DEBUG 0 |
12 | //#define DEBUG 0 |
13 | //----------------------- |
13 | //----------------------- |
Line 14... | Line 14... | ||
14 | 14 | ||
15 | #define VERSION_MAJOR 0 |
15 | #define VERSION_MAJOR 0 |
16 | #define VERSION_MINOR 25 |
16 | #define VERSION_MINOR 25 |
17 | #define VERSION_PATCH 10 |
17 | #define VERSION_PATCH 12 |
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 33... | Line 33... | ||
33 | 33 | ||
34 | #define VERSION_SERIAL_MAJOR 11 |
34 | #define VERSION_SERIAL_MAJOR 11 |
Line 35... | Line 35... | ||
35 | #define VERSION_SERIAL_MINOR 0 |
35 | #define VERSION_SERIAL_MINOR 0 |
36 | 36 | ||
37 | #ifndef FOLLOW_ME |
37 | #ifndef FOLLOW_ME |
38 | #define FC_SPI_COMPATIBLE 24 |
38 | #define FC_SPI_COMPATIBLE 25 |
39 | #else |
39 | #else |
Line 40... | Line 40... | ||
40 | #define FC_SPI_COMPATIBLE 0xFF |
40 | #define FC_SPI_COMPATIBLE 0xFF |
Line 86... | Line 86... | ||
86 | #define NCERR_FLAG_BAD_COMPASS_HEADING 0x00000020 |
86 | #define NCERR_FLAG_BAD_COMPASS_HEADING 0x00000020 |
87 | #define NCERR_FLAG_RC_SIGNAL_LOST 0x00000040 |
87 | #define NCERR_FLAG_RC_SIGNAL_LOST 0x00000040 |
88 | #define NCERR_FLAG_EEPROM_NOT_FOUND 0x00000080 |
88 | #define NCERR_FLAG_EEPROM_NOT_FOUND 0x00000080 |
Line 89... | Line 89... | ||
89 | 89 | ||
90 | // Parameter.GlobalConfig |
90 | // Parameter.GlobalConfig |
91 | #define FC_CFG_HOEHENREGELUNG 0x01 |
91 | #define FC_CFG_HOEHENREGELUNG 0x01 |
92 | #define FC_CFG_HOEHEN_SCHALTER 0x02 |
92 | #define FC_CFG_HOEHEN_SCHALTER 0x02 |
93 | #define FC_CFG_HEADING_HOLD 0x04 |
93 | #define FC_CFG_HEADING_HOLD 0x04 |
94 | #define FC_CFG_KOMPASS_AKTIV 0x08 |
94 | #define FC_CFG_KOMPASS_AKTIV 0x08 |
95 | #define FC_CFG_KOMPASS_FIX 0x10 |
95 | #define FC_CFG_KOMPASS_FIX 0x10 |
96 | #define FC_CFG_GPS_AKTIV 0x20 |
96 | #define FC_CFG_GPS_AKTIV 0x20 |
97 | #define FC_CFG_ACHSENKOPPLUNG_AKTIV 0x40 |
97 | #define FC_CFG_ACHSENKOPPLUNG_AKTIV 0x40 |
98 | #define FC_CFG_DREHRATEN_BEGRENZER 0x80 |
98 | #define FC_CFG_DREHRATEN_BEGRENZER 0x80 |
99 | 99 | ||
100 | //Parameter.ExtraConfig |
100 | //Parameter.ExtraConfig |
101 | #define CFG2_HEIGHT_LIMIT 0x01 |
101 | #define CFG2_HEIGHT_LIMIT 0x01 |
102 | #define CFG2_VARIO_BEEP 0x02 |
102 | #define CFG2_VARIO_BEEP 0x02 |
103 | #define CFG_SENSITIVE_RC 0x04 |
103 | #define CFG_SENSITIVE_RC 0x04 |
104 | #define CFG_3_3V_REFERENCE 0x08 |
104 | #define CFG_3_3V_REFERENCE 0x08 |
105 | #define CFG_NO_RCOFF_BEEPING 0x10 |
105 | #define CFG_NO_RCOFF_BEEPING 0x10 |
106 | #define CFG_GPS_AID 0x20 |
106 | #define CFG_GPS_AID 0x20 |
107 | #define CFG_TEACHABLE_CAREFREE 0x40 |
- | |
- | 107 | #define CFG_TEACHABLE_CAREFREE 0x40 |
|
Line 108... | Line 108... | ||
108 | 108 | #define CFG_IGNORE_MAG_ERR_AT_STARTUP 0x80 |
|
109 | 109 | ||
110 | #define LIMIT_MIN(value, min) {if(value <= min) value = min;} |
110 | #define LIMIT_MIN(value, min) {if(value <= min) value = min;} |