Rev 734 | Rev 762 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 734 | Rev 761 | ||
---|---|---|---|
Line 36... | Line 36... | ||
36 | typedef struct { |
36 | typedef struct { |
37 | uint8_t Digital[2]; |
37 | uint8_t Digital[2]; |
38 | uint16_t Analog[32]; // Debugvalues |
38 | uint16_t Analog[32]; // Debugvalues |
39 | } __attribute__((packed)) DebugOut_t; |
39 | } __attribute__((packed)) DebugOut_t; |
Line 40... | Line -... | ||
40 | - | ||
41 | 40 | ||
42 | typedef struct { |
41 | typedef struct { |
43 | unsigned char SWMajor; |
42 | unsigned char SWMajor; |
44 | unsigned char SWMinor; |
43 | unsigned char SWMinor; |
45 | unsigned char ProtoMajor; |
44 | unsigned char ProtoMajor; |
46 | unsigned char ProtoMinor; |
45 | unsigned char ProtoMinor; |
47 | unsigned char SWPatch; |
46 | unsigned char SWPatch; |
48 | unsigned char Reserved[5]; |
47 | unsigned char Reserved[5]; |
Line 49... | Line -... | ||
49 | } str_VersionInfo; |
- | |
50 | 48 | } str_VersionInfo; |
|
51 | 49 | ||
52 | /* |
50 | /* |
53 | * NaviCtrl OSD Structs |
51 | * NaviCtrl OSD Structs |
54 | * portions taken and adapted from |
52 | * portions taken and adapted from |
Line 62... | Line 60... | ||
62 | } __attribute__((packed)) GPS_Pos_t; |
60 | } __attribute__((packed)) GPS_Pos_t; |
63 | #define INVALID 0x00 |
61 | #define INVALID 0x00 |
64 | #define NEWDATA 0x01 |
62 | #define NEWDATA 0x01 |
65 | #define PROCESSED 0x02 |
63 | #define PROCESSED 0x02 |
Line 66... | Line -... | ||
66 | - | ||
- | 64 | ||
67 | 65 | typedef struct { |
|
68 | typedef struct { |
66 | u16 Distance; // distance to target in cm |
69 | u16 Distance; // distance to target in cm |
67 | s16 Bearing; // course to target in deg |
Line 70... | Line 68... | ||
70 | s16 Bearing; // course to target in deg |
68 | } __attribute__((packed)) GPS_PosDev_t; |
71 | } __attribute__((packed)) GPS_PosDev_t; |
69 |