Skip to content

Commit

Permalink
Merge pull request #2234 from iNavFlight/MrD_Modes-page-updates
Browse files Browse the repository at this point in the history
Modes page updates
  • Loading branch information
MrD-RC authored Nov 8, 2024
2 parents d3a15f0 + 06b049f commit 8050982
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions tabs/auxiliary.js
Original file line number Diff line number Diff line change
Expand Up @@ -288,10 +288,7 @@ TABS.auxiliary.initialize = function (callback) {

$('a.addRange').on('click', function () {
var modeElement = $(this).data('modeElement');

var firstUnusedChannel = findFirstUnusedChannel(modeElement);

addRangeToMode(modeElement, firstUnusedChannel);
addRangeToMode(modeElement, -1);
});

// translate to user-selected language
Expand Down Expand Up @@ -382,7 +379,7 @@ TABS.auxiliary.initialize = function (callback) {
function update_ui() {
let hasUsedMode = false;
let acroEnabled = true;
let acroFail = ["ANGLE", "HORIZON", "MANUAL", "NAV RTH", "NAV POSHOLD", "NAV CRUISE", "NAV COURSE HOLD", "NAV WP", "GCS NAV"];
let acroFail = ["ANGLE", "HORIZON", "MANUAL", "ANGLE HOLD", "NAV RTH", "NAV POSHOLD", "NAV CRUISE", "NAV COURSE HOLD", "NAV WP", "GCS NAV"];

var auxChannelCount = FC.RC.active_channels - 4;

Expand Down

0 comments on commit 8050982

Please sign in to comment.