Subversion Repositories FlightCtrl

Rev

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

Rev 1451 Rev 1472
Line 67... Line 67...
67
        signed int  GyroNick;
67
        signed int  GyroNick;
68
        signed int  GyroRoll;
68
        signed int  GyroRoll;
69
        signed int  GyroGier;
69
        signed int  GyroGier;
70
        union
70
        union
71
        {
71
        {
72
                char sByte[12];
-
 
73
                unsigned char Byte[12];
72
                unsigned char Byte[12];
-
 
73
                char sByte[12];
-
 
74
                unsigned int Int[6];
74
                int  Int[6];
75
                int  sInt[6];
-
 
76
                unsigned long Long[3];
75
                long Long[3];
77
                long sLong[3];
76
                float Float[3];
78
                float Float[3];
77
        } Param;
79
        } Param;
78
        unsigned char Chksum;
80
        unsigned char Chksum;
79
};
81
};
Line 91... Line 93...
91
        signed int  CompassValue;
93
        signed int  CompassValue;
92
        signed int  Status;
94
        signed int  Status;
93
        unsigned int BeepTime;
95
        unsigned int BeepTime;
94
        union
96
        union
95
        {
97
        {
96
                char sByte[12];
-
 
97
                unsigned char Byte[12];
98
                unsigned char Byte[12];
-
 
99
                char sByte[12];
-
 
100
                unsigned int Int[6];
98
                int  Int[6];
101
                int  sInt[6];
-
 
102
                unsigned long Long[3];
99
                long Long[3];
103
                long sLong[3];
100
                float Float[3];
104
                float Float[3];
101
        } Param;
105
        } Param;
102
        unsigned char Chksum;
106
        unsigned char Chksum;
103
};
107
};
Line 133... Line 137...
133
#define FLAG_WKNSET                             0x04 // (is Week Number valid)
137
#define FLAG_WKNSET                             0x04 // (is Week Number valid)
134
#define FLAG_TOWSET                             0x08 // (is Time of Week valid)
138
#define FLAG_TOWSET                             0x08 // (is Time of Week valid)
Line 135... Line 139...
135
 
139
 
136
struct str_GPSInfo
140
struct str_GPSInfo
137
{
141
{
138
        uint8_t         Flags;                  // Status Flags
142
        unsigned char   Flags;                  // Status Flags
139
        uint8_t         NumOfSats;              // number of satelites
143
        unsigned char   NumOfSats;              // number of satelites
-
 
144
        unsigned char   SatFix;                 // type of satfix
-
 
145
        unsigned int    HomeDistance;   // distance to Home in dm
140
        uint8_t         SatFix;                 // type of satfix
146
        int                             HomeBearing;    // bearing to home in deg
Line 141... Line 147...
141
};
147
};
142
 
148