Skip to content

Commit

Permalink
Merge pull request #2139 from sensei-hacker/remove_used_platform_other
Browse files Browse the repository at this point in the history
js/model.js: PLATFORM_OTHER is not valid, remove
  • Loading branch information
mmosca authored Jul 8, 2024
2 parents 79dc312 + 91b9ee7 commit 7041ab2
Showing 1 changed file with 1 addition and 46 deletions.
47 changes: 1 addition & 46 deletions js/model.js
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,7 @@ const PLATFORM = {
HELICOPTER: 2,
TRICOPTER: 3,
ROVER: 4,
BOAT: 5,
OTHER: 6
BOAT: 5
}

// generate mixer
Expand Down Expand Up @@ -647,44 +646,6 @@ const mixerList = [
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 = [
Expand Down Expand Up @@ -723,12 +684,6 @@ const platformList = [
name: "Boat",
enabled: true,
flapsPossible: false
},
{
id: 6,
name: "Other",
enabled: true,
flapsPossible: false
}
];

Expand Down

0 comments on commit 7041ab2

Please sign in to comment.