Subversion Repositories FlightCtrl

Rev

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

Rev 2118 Rev 2119
Line 90... Line 90...
90
 
90
 
91
  // Output and servo
91
  // Output and servo
92
  /*PMM*/uint8_t output0Timing;
92
  /*PMM*/uint8_t output0Timing;
Line 93... Line 93...
93
  /*PMM*/uint8_t output1Timing;
93
  /*PMM*/uint8_t output1Timing;
Line 94... Line 94...
94
 
94
 
95
  uint8_t servoManualControl[2];
95
  uint8_t gimbalServoManualControl[2];
Line 96... Line 96...
96
 
96
 
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 {
113
typedef struct {
114
  uint8_t RCPolarity; // 1=positive, 0=negative. Use positive with Futaba receiver, negative with FrSky.
114
        uint8_t trim;
115
  uint8_t trim;
115
        uint8_t variableOffset;
116
  uint8_t variableOffset;
116
  uint8_t channels[MAX_CHANNELS];
117
  uint8_t channels[MAX_CHANNELS];
117
} ChannelMap_t;
118
} ChannelMap_t;
Line 118... Line 119...
118
extern ChannelMap_t channelMap;
119
extern ChannelMap_t channelMap;
Line 127... Line 128...
127
  uint8_t minValue;
128
  uint8_t minValue;
128
  uint8_t maxValue;
129
  uint8_t maxValue;
129
  uint8_t flags;
130
  uint8_t flags;
130
} Servo_t;
131
} Servo_t;
Line 131... Line 132...
131
 
132
 
Line 132... Line 133...
132
//#define SERVO_STABILIZATION_REVERSE 1
133
#define SERVO_STABILIZATION_REVERSE 1
133
 
134
 
134
typedef struct {
135
typedef struct {
135
  uint8_t bitmask;
136
  uint8_t bitmask;
Line 158... Line 159...
158
  uint8_t isFlyingThreshold;
159
  uint8_t isFlyingThreshold;
Line 159... Line 160...
159
 
160
 
Line 160... Line 161...
160
  // Servos
161
  // Servos
161
 
162
 
Line 162... Line 163...
162
  uint8_t servoCount;
163
  uint8_t servoCount;
163
  uint8_t gimbalServosReverse;
164
  uint8_t servosReverse;
Line 164... Line 165...
164
 
165