mirror of
https://github.com/iNavFlight/inav-configurator.git
synced 2025-07-25 17:25:14 +03:00
js/model.js: PLATFORM_OTHER is not valid, remove
This commit is contained in:
parent
c7dfab991d
commit
91b9ee7f1f
1 changed files with 1 additions and 46 deletions
47
js/model.js
47
js/model.js
|
@ -55,8 +55,7 @@ const PLATFORM = {
|
||||||
HELICOPTER: 2,
|
HELICOPTER: 2,
|
||||||
TRICOPTER: 3,
|
TRICOPTER: 3,
|
||||||
ROVER: 4,
|
ROVER: 4,
|
||||||
BOAT: 5,
|
BOAT: 5
|
||||||
OTHER: 6
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// generate mixer
|
// generate mixer
|
||||||
|
@ -647,44 +646,6 @@ const mixerList = [
|
||||||
new ServoMixRule(3, INPUT.STABILIZED_YAW, 100, 0),
|
new ServoMixRule(3, INPUT.STABILIZED_YAW, 100, 0),
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
// ** Misc **
|
|
||||||
{
|
|
||||||
id: 33,
|
|
||||||
name: 'Other',
|
|
||||||
model: 'custom',
|
|
||||||
image: 'custom',
|
|
||||||
enabled: true,
|
|
||||||
legacy: false,
|
|
||||||
platform: PLATFORM.OTHER,
|
|
||||||
motorMixer: [
|
|
||||||
new MotorMixRule(1.0, 0.0, 0.0, 0.0),
|
|
||||||
],
|
|
||||||
servoMixer: [
|
|
||||||
new ServoMixRule(3, INPUT.STABILIZED_YAW, 100, 0),
|
|
||||||
]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
id: 5,
|
|
||||||
name: 'Gimbal',
|
|
||||||
model: 'custom',
|
|
||||||
image: 'custom',
|
|
||||||
enabled: false,
|
|
||||||
legacy: true,
|
|
||||||
platform: PLATFORM.OTHER,
|
|
||||||
motorMixer: [],
|
|
||||||
servoMixer: []
|
|
||||||
}, // 5
|
|
||||||
{
|
|
||||||
id: 19,
|
|
||||||
name: 'PPM to SERVO',
|
|
||||||
model: 'custom',
|
|
||||||
image: 'custom',
|
|
||||||
enabled: false,
|
|
||||||
legacy: true,
|
|
||||||
platform: PLATFORM.OTHER,
|
|
||||||
motorMixer: [],
|
|
||||||
servoMixer: []
|
|
||||||
}, // 19
|
|
||||||
];
|
];
|
||||||
|
|
||||||
const platformList = [
|
const platformList = [
|
||||||
|
@ -723,12 +684,6 @@ const platformList = [
|
||||||
name: "Boat",
|
name: "Boat",
|
||||||
enabled: true,
|
enabled: true,
|
||||||
flapsPossible: false
|
flapsPossible: false
|
||||||
},
|
|
||||||
{
|
|
||||||
id: 6,
|
|
||||||
name: "Other",
|
|
||||||
enabled: true,
|
|
||||||
flapsPossible: false
|
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue