Subversion Repositories FlightCtrl

Rev

Rev 1078 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1078 Rev 1081
Line 21... Line 21...
21
extern uint8_t RemotePollDisplayLine;
21
extern uint8_t RemotePollDisplayLine;
22
extern uint8_t MotorTest[4];
22
extern uint8_t MotorTest[4];
Line 23... Line 23...
23
 
23
 
24
typedef struct
24
typedef struct
25
{
25
{
26
 uint8_t Digital[2];
26
        uint8_t Digital[2];
27
 uint16_t Analog[32];    // Debugvalues
27
        uint16_t Analog[32];    // Debugvalues
Line 28... Line 28...
28
} __attribute__((packed)) DebugOut_t;
28
} __attribute__((packed)) DebugOut_t;
Line 29... Line 29...
29
 
29
 
30
extern DebugOut_t DebugOut;
30
extern DebugOut_t DebugOut;
31
 
31
 
32
typedef struct
32
typedef struct
33
{
33
{
34
 uint8_t        Digital[2];
34
        uint8_t Digital[2];
35
 uint8_t        RemoteButtons;
35
        uint8_t RemoteButtons;
36
 int8_t         Nick;
36
        int8_t          Nick;
37
 int8_t         Roll;
37
        int8_t          Roll;
38
 int8_t         Yaw;
38
        int8_t          Yaw;
39
 uint8_t        Gas;
39
        uint8_t Gas;
40
 int8_t         Height;
40
        int8_t          Height;
41
 uint8_t        free;
41
        uint8_t free;
Line 42... Line 42...
42
 uint8_t        Frame;
42
        uint8_t Frame;
Line 43... Line 43...
43
 uint8_t        Config;
43
        uint8_t Config;
44
} __attribute__((packed)) ExternControl_t;
44
} __attribute__((packed)) ExternControl_t;
45
 
45
 
46
extern ExternControl_t ExternControl;
46
extern ExternControl_t ExternControl;
47
 
47
 
48
typedef struct
48
typedef struct
49
{
49
{
50
  uint8_t SWMajor;
50
        uint8_t SWMajor;
51
  uint8_t SWMinor;
51
        uint8_t SWMinor;
Line 52... Line 52...
52
  uint8_t ProtoMajor;
52
        uint8_t ProtoMajor;