From 91b9ee7f1fb53a7142b993d7084f53c74ec7a6fe Mon Sep 17 00:00:00 2001 From: Ray Morris Date: Sat, 6 Jul 2024 19:21:24 -0500 Subject: [PATCH] js/model.js: PLATFORM_OTHER is not valid, remove --- js/model.js | 47 +---------------------------------------------- 1 file changed, 1 insertion(+), 46 deletions(-) diff --git a/js/model.js b/js/model.js index 6bed56176..47b2e8d47 100644 --- a/js/model.js +++ b/js/model.js @@ -55,8 +55,7 @@ const PLATFORM = { HELICOPTER: 2, TRICOPTER: 3, ROVER: 4, - BOAT: 5, - OTHER: 6 + BOAT: 5 } // generate mixer @@ -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 = [ @@ -723,12 +684,6 @@ const platformList = [ name: "Boat", enabled: true, flapsPossible: false - }, - { - id: 6, - name: "Other", - enabled: true, - flapsPossible: false } ];