From 96f50f7c917ae94b624b016e4817178de725c111 Mon Sep 17 00:00:00 2001 From: Darren Lines Date: Fri, 19 Nov 2021 13:21:04 +0000 Subject: [PATCH] Update auxiliary.js Moved SURFACE from multi-rotor section to modifiers, as it is hardware specific, not platform. Also moved RTH to the start of the Navigation Modes block, so that the separation works on all platforms --- tabs/auxiliary.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/tabs/auxiliary.js b/tabs/auxiliary.js index 3b5cba70..5aee1077 100644 --- a/tabs/auxiliary.js +++ b/tabs/auxiliary.js @@ -39,7 +39,7 @@ TABS.auxiliary.initialize = function (callback) { const modeSections = {}; modeSections["ARM"] = "Arming"; modeSections["ANGLE"] = "Flight Modes"; - modeSections["NAV COURSE HOLD"] = "Navigation Modes"; + modeSections["NAV RTH"] = "Navigation Modes"; modeSections["NAV ALTHOLD"] = "Flight Mode Modifiers"; modeSections["AUTO TUNE"] = "Fixed Wing"; modeSections["FPV ANGLE MIX"] = "Multi-rotor"; @@ -52,10 +52,10 @@ TABS.auxiliary.initialize = function (callback) { const configuratorBoxOrder = [ "ARM", "PREARM", // Arming "ANGLE", "HORIZON", "MANUAL", // Flight modes - "NAV COURSE HOLD", "NAV CRUISE", "NAV POSHOLD", "NAV RTH", "NAV WP", "GCS NAV", // Navigation modes - "NAV ALTHOLD", "HEADING HOLD", "AIR MODE", // Flight mode modifiers + "NAV RTH", "NAV COURSE HOLD", "NAV CRUISE", "NAV POSHOLD", "NAV WP", "GCS NAV", // Navigation modes + "NAV ALTHOLD", "HEADING HOLD", "AIR MODE", "SURFACE", // Flight mode modifiers "AUTO TUNE", "SERVO AUTOTRIM", "AUTO LEVEL", "NAV LAUNCH", "LOITER CHANGE", "FLAPERON", "TURN ASSIST", // Fixed wing specific - "FPV ANGLE MIX", "TURTLE", "MC BRAKING", "SURFACE", "HEADFREE", "HEADADJ", // Multi-rotor specific + "FPV ANGLE MIX", "TURTLE", "MC BRAKING", "HEADFREE", "HEADADJ", // Multi-rotor specific "OSD OFF", "OSD ALT 1", "OSD ALT 2", "OSD ALT 3", // OSD "CAMSTAB", "CAMERA CONTROL 1", "CAMERA CONTROL 2", "CAMERA CONTROL 3", // FPV Camera "BEEPER", "LEDS OFF", "LIGHTS", "HOME RESET", "BLACKBOX", "FAILSAFE", "KILLSWITCH", "TELEMETRY", // Misc @@ -475,4 +475,4 @@ TABS.auxiliary.cleanup = function (callback) { $(window).on('resize', function(){ $(".tab-auxiliary .acroEnabled").width($("#mode-0 .info").width()); -}); \ No newline at end of file +});