Subversion Repositories Projects

Rev

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

Rev 307 Rev 334
Line 17... Line 17...
17
 *   59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.             *
17
 *   59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.             *
18
 ***************************************************************************/
18
 ***************************************************************************/
19
#ifndef PARAMETER_POSITIONS_H
19
#ifndef PARAMETER_POSITIONS_H
20
#define PARAMETER_POSITIONS_H
20
#define PARAMETER_POSITIONS_H
Line -... Line 21...
-
 
21
 
-
 
22
#ifdef _BETA_
-
 
23
// Positionen der Navidaten im OSD-Datensatz
-
 
24
////////////////////////////////////////////
-
 
25
 
-
 
26
static const int N_VERSION          = 0;
-
 
27
static const int N_CUR_LONGITUDE    = 1;
-
 
28
static const int N_CUR_LATITUDE     = 5;
-
 
29
static const int N_CUR_ALTITUDE     = 9;
-
 
30
static const int N_CUR_STATUS       = 13;
-
 
31
 
-
 
32
static const int N_TAR_LONGITUDE    = 14; //16
-
 
33
static const int N_TAR_LATITUDE     = 18; //20
-
 
34
static const int N_TAR_ALTITUDE     = 22; //24
-
 
35
static const int N_TAR_STATUS       = 26; //28
-
 
36
static const int N_TAR_DISTANCE     = 27; //32
-
 
37
static const int N_TAR_ANGLE        = 29; //34
-
 
38
 
-
 
39
static const int N_HOME_LONGITUDE   = 31; //36
-
 
40
static const int N_HOME_LATITUDE    = 35; //40
-
 
41
static const int N_HOME_ALTITUDE    = 39; //44
-
 
42
static const int N_HOME_STATUS      = 43; //48
-
 
43
static const int N_HOME_DISTANCE    = 44; //52
-
 
44
static const int N_HOME_ANGLE       = 46; //54
-
 
45
 
-
 
46
static const int N_WP_INDEX         = 48; //56
-
 
47
static const int N_WP_NUMBER        = 49; //57
-
 
48
 
-
 
49
static const int N_SATS_IN_USER     = 50; //58
-
 
50
static const int N_ALTIMETER        = 51; //59
-
 
51
static const int N_VARIOMETER       = 53; //61
-
 
52
static const int N_FLYING_TIME      = 55; //63
-
 
53
static const int N_UBAT             = 57; //65
-
 
54
static const int N_GROUND_SPEED     = 58; //66
-
 
55
static const int N_HEADING          = 60; //68
-
 
56
static const int N_COMAPSS_HEADING  = 62; //70
-
 
57
static const int N_ANGLE_NICK       = 64; //72
-
 
58
static const int N_ANGLE_ROLL       = 65; //73
-
 
59
static const int N_RC_QUALITY       = 66; //74
-
 
60
static const int N_MK_FLAGS         = 67; //75
-
 
61
static const int N_NC_FLAGS         = 68; //76
-
 
62
static const int N_ERRORCODE        = 69; //77
-
 
63
static const int N_OP_RADIUS        = 70; //77
-
 
64
static const int N_TOP_SPEED        = 71; //77
-
 
65
static const int N_HOLD_TIME        = 73; //77
-
 
66
 
-
 
67
#else
21
 
68
 
22
// Positionen der Navidaten im OSD-Datensatz
69
// Positionen der Navidaten im OSD-Datensatz
23
////////////////////////////////////////////
70
////////////////////////////////////////////
24
static const int N_CUR_LONGITUDE    = 0;
71
static const int N_CUR_LONGITUDE    = 0;
25
static const int N_CUR_LATITUDE     = 4;
72
static const int N_CUR_LATITUDE     = 4;
Line 55... Line 102...
55
static const int N_ANGLE_ROLL       = 64; //73
102
static const int N_ANGLE_ROLL       = 64; //73
56
static const int N_RC_QUALITY       = 65; //74
103
static const int N_RC_QUALITY       = 65; //74
57
static const int N_MK_FLAGS         = 66; //75
104
static const int N_MK_FLAGS         = 66; //75
58
static const int N_NC_FLAGS         = 67; //76
105
static const int N_NC_FLAGS         = 67; //76
59
static const int N_ERRORCODE        = 68; //77
106
static const int N_ERRORCODE        = 68; //77
-
 
107
static const int N_OP_RADIUS        = 70; //77
-
 
108
static const int N_TOP_SPEED        = 71; //77
-
 
109
static const int N_HOLD_TIME        = 73; //77
60
 
110
#endif
Line 61... Line 111...
61
 
111
 
62
// Positionen der Setting-Parameter
112
// Positionen der Setting-Parameter
Line 63... Line 113...
63
///////////////////////////////////
113
///////////////////////////////////
64
 
114
 
-
 
115
#ifdef _BETA_
65
#ifdef _BETA_
116
static const int VERSION_SETTINGS = 75;
66
static const int VERSION_SETTINGS = 75;
117
static const int VERSION_OSD      = 1;
67
static const int VERSION_MIXER    = 1;
118
static const int VERSION_MIXER    = 1;
-
 
119
#else
68
#else
120
static const int VERSION_SETTINGS = 74;
69
static const int VERSION_SETTINGS = 74;
121
static const int VERSION_OSD      = 0;
Line 70... Line 122...
70
static const int VERSION_MIXER    = 1;
122
static const int VERSION_MIXER    = 1;