Subversion Repositories NaviCtrl

Rev

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

Rev 675 Rev 682
Line 67... Line 67...
67
        u16 Analog[32];    // Debugwerte
67
        u16 Analog[32];    // Debugwerte
68
} __attribute__((packed)) DebugOut_t;
68
} __attribute__((packed)) DebugOut_t;
Line 69... Line 69...
69
 
69
 
Line -... Line 70...
-
 
70
extern DebugOut_t DebugOut;
70
extern DebugOut_t DebugOut;
71
 
71
 
72
/*
72
typedef struct
73
typedef struct
73
{
74
{
74
        u8      Digital[2];
75
        u8      Digital[2];
Line 80... Line 81...
80
        s8      Height;
81
        s8      Height;
81
        u8      free;
82
        u8      free;
82
        u8      Frame;
83
        u8      Frame;
83
        u8      Config;
84
        u8      Config;
84
} __attribute__((packed)) ExternControl_t;
85
} __attribute__((packed)) ExternControl_t;
-
 
86
*/
-
 
87
 
-
 
88
// defines for ExternalControl.Config
-
 
89
#define EC_VALID                0x01  // only valid if this is 1
-
 
90
#define EC_GAS_ADD              0x02  // if 1 -> use the GAS Value not as MAX
-
 
91
#define EC_IGNORE_RC    0x80  // if 1 -> for Flying without RC-Control 
-
 
92
 
-
 
93
typedef struct
-
 
94
{
-
 
95
 signed char   Nick;
-
 
96
 signed char   Roll;
-
 
97
 signed char   Gier;
-
 
98
 signed char   Gas;
-
 
99
 unsigned char Frame;   // will return a confirm frame with this value
-
 
100
 unsigned char Config;
-
 
101
 unsigned char free;
-
 
102
} __attribute__((packed)) ExternControl_t;
Line 85... Line 103...
85
 
103
 
Line 86... Line 104...
86
extern ExternControl_t ExternControl;
104
extern ExternControl_t ExternControl;
87
 
105