1
0
Fork 0
mirror of https://github.com/iNavFlight/inav.git synced 2025-07-23 16:25:26 +03:00

Merge pull request #1396 from iNavFlight/remove-unused-servos-for-airplanes

Remove unused servos for airplanes
This commit is contained in:
Konstantin Sharlaimov 2017-03-13 19:32:59 +10:00 committed by GitHub
commit 9afbec557c
2 changed files with 1 additions and 5 deletions

View file

@ -113,7 +113,6 @@ static const servoMixer_t servoMixerAirplane[] = {
{ SERVO_FLAPPERON_2, INPUT_STABILIZED_ROLL, 100, 0, 0, 100 },
{ SERVO_RUDDER, INPUT_STABILIZED_YAW, 100, 0, 0, 100 },
{ SERVO_ELEVATOR, INPUT_STABILIZED_PITCH, 100, 0, 0, 100 },
{ SERVO_THROTTLE, INPUT_STABILIZED_THROTTLE, 100, 0, 0, 100 },
};
static const servoMixer_t servoMixerFlyingWing[] = {
@ -121,7 +120,6 @@ static const servoMixer_t servoMixerFlyingWing[] = {
{ SERVO_FLAPPERON_1, INPUT_STABILIZED_PITCH, 100, 0, 0, 100 },
{ SERVO_FLAPPERON_2, INPUT_STABILIZED_ROLL, -100, 0, 0, 100 },
{ SERVO_FLAPPERON_2, INPUT_STABILIZED_PITCH, 100, 0, 0, 100 },
{ SERVO_THROTTLE, INPUT_STABILIZED_THROTTLE, 100, 0, 0, 100 },
};
static const servoMixer_t servoMixerTri[] = {

View file

@ -53,8 +53,6 @@ typedef enum {
SERVO_FLAPPERON_1 = 3,
SERVO_FLAPPERON_2 = 4,
SERVO_RUDDER = 5,
SERVO_THROTTLE = 6, // for internal combustion (IC) planes
SERVO_FLAPS = 7,
SERVO_BICOPTER_LEFT = 4,
SERVO_BICOPTER_RIGHT = 5,
@ -70,7 +68,7 @@ typedef enum {
} servoIndex_e; // FIXME rename to servoChannel_e
#define SERVO_PLANE_INDEX_MIN SERVO_ELEVATOR
#define SERVO_PLANE_INDEX_MAX SERVO_FLAPS
#define SERVO_PLANE_INDEX_MAX SERVO_RUDDER
#define SERVO_DUALCOPTER_INDEX_MIN SERVO_DUALCOPTER_LEFT
#define SERVO_DUALCOPTER_INDEX_MAX SERVO_DUALCOPTER_RIGHT