Rev 2109 | Rev 2118 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 2109 | Rev 2116 | ||
---|---|---|---|
Line 109... | Line 109... | ||
109 | uint8_t sourceIdx, targetIdx; |
109 | uint8_t sourceIdx, targetIdx; |
110 | } XLATION; |
110 | } XLATION; |
111 | */ |
111 | */ |
Line 112... | Line 112... | ||
112 | 112 | ||
- | 113 | typedef struct { |
|
- | 114 | uint8_t trim; |
|
113 | typedef struct { |
115 | uint8_t variableOffset; |
114 | uint8_t channels[MAX_CHANNELS]; |
116 | uint8_t channels[MAX_CHANNELS]; |
115 | } channelMap_t; |
117 | } ChannelMap_t; |
Line 116... | Line 118... | ||
116 | extern channelMap_t channelMap; |
118 | extern ChannelMap_t channelMap; |
117 | 119 | ||
118 | typedef struct { |
120 | typedef struct { |
Line 123... | Line 125... | ||
123 | uint8_t manualControl; |
125 | uint8_t manualControl; |
124 | uint8_t stabilizationFactor; |
126 | uint8_t stabilizationFactor; |
125 | uint8_t minValue; |
127 | uint8_t minValue; |
126 | uint8_t maxValue; |
128 | uint8_t maxValue; |
127 | uint8_t flags; |
129 | uint8_t flags; |
128 | } servo_t; |
130 | } Servo_t; |
Line 129... | Line 131... | ||
129 | 131 | ||
Line 130... | Line 132... | ||
130 | #define SERVO_STABILIZATION_REVERSE 1 |
132 | #define SERVO_STABILIZATION_REVERSE 1 |
131 | 133 | ||
Line 160... | Line 162... | ||
160 | 162 | ||
161 | // Servos |
163 | // Servos |
Line 162... | Line 164... | ||
162 | uint8_t controlServosReverse; |
164 | uint8_t controlServosReverse; |
- | 165 | ||
- | 166 | uint8_t servoCount; |
|
- | 167 | uint8_t controlServoMinValue; |
|
163 | 168 | uint8_t controlServoMaxValue; |
|
164 | uint8_t servoCount; |
169 | |
Line 165... | Line 170... | ||
165 | uint8_t servoManualMaxSpeed; |
170 | uint8_t servoManualMaxSpeed; |
166 | servo_t servoConfigurations[2]; // [PITCH, ROLL] |
171 | Servo_t servoConfigurations[2]; // [PITCH, ROLL] |
167 | 172 | ||
168 | // Outputs |
173 | // Outputs |