Rev 2008 | Rev 2403 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 2008 | Rev 2342 | ||
---|---|---|---|
Line 83... | Line 83... | ||
83 | #define FC_ERROR1_MIXER 0x10 |
83 | #define FC_ERROR1_MIXER 0x10 |
84 | #define FC_ERROR1_RES1 0x20 |
84 | #define FC_ERROR1_RES1 0x20 |
85 | #define FC_ERROR1_RES2 0x40 |
85 | #define FC_ERROR1_RES2 0x40 |
86 | #define FC_ERROR1_RES3 0x80 |
86 | #define FC_ERROR1_RES3 0x80 |
Line -... | Line 87... | ||
- | 87 | ||
- | 88 | ||
- | 89 | // for FlightCtrl |
|
- | 90 | //VersionInfo.Flags |
|
- | 91 | #define FC_VERSION_FLAG_NC_PRESENT 0x01 |
|
- | 92 | // for NaviCtrl |
|
- | 93 | #define NC_VERSION_FLAG_MK3MAG_PRESENT 0x01 |
|
87 | 94 | ||
88 | struct str_VersionInfo |
95 | struct str_VersionInfo |
89 | { |
96 | { |
90 | unsigned char SWMajor; |
97 | unsigned char SWMajor; |
91 | unsigned char SWMinor; |
98 | unsigned char SWMinor; |
92 | unsigned char ProtoMajor; |
99 | unsigned char ProtoMajor; |
93 | unsigned char ProtoMinor; |
100 | unsigned char reserved1; |
94 | unsigned char SWPatch; |
101 | unsigned char SWPatch; |
- | 102 | unsigned char HardwareError[2]; |
|
- | 103 | unsigned char HWMajor; |
|
- | 104 | unsigned char reserved2; |
|
95 | unsigned char HardwareError[5]; |
105 | unsigned char Flags; |
Line 96... | Line 106... | ||
96 | }; |
106 | }; |
Line 97... | Line 107... | ||
97 | 107 |