From c19badcf8be6c060f5857354c5096d418f880ac7 Mon Sep 17 00:00:00 2001 From: "Pawel Spychalski (DzikuVx)" Date: Thu, 14 Apr 2022 10:32:00 +0200 Subject: [PATCH] Add flight axis overrides to programming framework --- js/fc.js | 12 ++++++++++++ tabs/programming.js | 1 + 2 files changed, 13 insertions(+) diff --git a/js/fc.js b/js/fc.js index f31f60b6..a90fc256 100644 --- a/js/fc.js +++ b/js/fc.js @@ -1150,6 +1150,18 @@ var FC = { hasOperand: [true, true], output: "raw" }, + 45: { + name: "Flight Axis Angle Override", + operandType: "Set Flight Parameter", + hasOperand: [true, true], + output: "boolean" + }, + 46: { + name: "Flight Axis Rate Override", + operandType: "Set Flight Parameter", + hasOperand: [true, true], + output: "boolean" + }, } }, getOperandTypes: function () { diff --git a/tabs/programming.js b/tabs/programming.js index 02e5ceab..6c22c85b 100644 --- a/tabs/programming.js +++ b/tabs/programming.js @@ -1,3 +1,4 @@ +/*global TABS,MSPChainerClass,mspHelper,googleAnalytics,GUI,LOGIC_CONDITIONS,PROGRAMMING_PID,GLOBAL_VARIABLES_STATUS,helper,LOGIC_CONDITIONS_STATUS,PROGRAMMING_PID_STATUS*/ 'use strict'; TABS.programming = {};