Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/iNavFlight/inav-configurator.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaweł Spychalski <pspychalski@gmail.com>2022-05-14 12:06:22 +0300
committerGitHub <noreply@github.com>2022-05-14 12:06:22 +0300
commit4be8ba716ea94332953e2385e37743946206a85d (patch)
treea54470764cbb70d899b9a0a730a3ac4b35091d91
parent274196e257689da2ce2a6c5974a953682cd5976a (diff)
parent16d0366ddd56a56e6c9ff39ee9aacea4550a54d2 (diff)
Merge pull request #1517 from iNavFlight/MrD_Add-fixed-wing-level-trim-to-adjustments
Added fw level trim to in flight adjustments
-rwxr-xr-x_locales/en/messages.json3
-rw-r--r--tabs/adjustments.html1
-rw-r--r--tabs/adjustments.js2
-rw-r--r--tabs/osd.js5
4 files changed, 10 insertions, 1 deletions
diff --git a/_locales/en/messages.json b/_locales/en/messages.json
index db028d97..57bf3cc8 100755
--- a/_locales/en/messages.json
+++ b/_locales/en/messages.json
@@ -1730,6 +1730,9 @@
"adjustmentsFunction57": {
"message": "Fixed Wing TPA Time Constant"
},
+ "adjustmentsFunction58": {
+ "message": "Fixed Wing Level Trim"
+ },
"adjustmentsSave": {
"message": "Save"
},
diff --git a/tabs/adjustments.html b/tabs/adjustments.html
index 1015a7df..7a9350cb 100644
--- a/tabs/adjustments.html
+++ b/tabs/adjustments.html
@@ -121,6 +121,7 @@
<option value="55" i18n="adjustmentsFunction55"></option>
<option value="56" i18n="adjustmentsFunction56"></option>
<option value="57" i18n="adjustmentsFunction57"></option>
+ <option value="58" i18n="adjustmentsFunction58"></option>
</select></td>
<td class="adjustmentSlot"><select class="slot">
<option value="0" i18n="adjustmentsSlot0"></option>
diff --git a/tabs/adjustments.js b/tabs/adjustments.js
index 9af22752..c1604e3b 100644
--- a/tabs/adjustments.js
+++ b/tabs/adjustments.js
@@ -64,7 +64,7 @@ TABS.adjustments.initialize = function (callback) {
// update list of selected functions
var functionListOptions = $(functionList).find('option');
- var availableFunctionCount = 58; // Set this to highest adjustment value + 1
+ var availableFunctionCount = 59; // Set this to highest adjustment value + 1
var functionListOptions = $(functionListOptions).slice(0,availableFunctionCount);
functionList.empty().append(functionListOptions);
diff --git a/tabs/osd.js b/tabs/osd.js
index 561132dc..8c3757cc 100644
--- a/tabs/osd.js
+++ b/tabs/osd.js
@@ -1831,6 +1831,11 @@ OSD.constants = {
id: 134,
preview: 'TPA TC 10'
},
+ {
+ name: 'FW_LEVEL_TRIM',
+ id: 135,
+ preview: 'LEVEL ' + FONT.embed_dot('5.4')
+ },
]
},
{