mirror of
https://github.com/iNavFlight/inav-configurator.git
synced 2025-07-20 14:55:14 +03:00
Added fw level trim to in flight adjustments
This commit is contained in:
parent
705c8fe88b
commit
16d0366ddd
4 changed files with 10 additions and 1 deletions
|
@ -1730,6 +1730,9 @@
|
||||||
"adjustmentsFunction57": {
|
"adjustmentsFunction57": {
|
||||||
"message": "Fixed Wing TPA Time Constant"
|
"message": "Fixed Wing TPA Time Constant"
|
||||||
},
|
},
|
||||||
|
"adjustmentsFunction58": {
|
||||||
|
"message": "Fixed Wing Level Trim"
|
||||||
|
},
|
||||||
"adjustmentsSave": {
|
"adjustmentsSave": {
|
||||||
"message": "Save"
|
"message": "Save"
|
||||||
},
|
},
|
||||||
|
|
|
@ -121,6 +121,7 @@
|
||||||
<option value="55" i18n="adjustmentsFunction55"></option>
|
<option value="55" i18n="adjustmentsFunction55"></option>
|
||||||
<option value="56" i18n="adjustmentsFunction56"></option>
|
<option value="56" i18n="adjustmentsFunction56"></option>
|
||||||
<option value="57" i18n="adjustmentsFunction57"></option>
|
<option value="57" i18n="adjustmentsFunction57"></option>
|
||||||
|
<option value="58" i18n="adjustmentsFunction58"></option>
|
||||||
</select></td>
|
</select></td>
|
||||||
<td class="adjustmentSlot"><select class="slot">
|
<td class="adjustmentSlot"><select class="slot">
|
||||||
<option value="0" i18n="adjustmentsSlot0"></option>
|
<option value="0" i18n="adjustmentsSlot0"></option>
|
||||||
|
|
|
@ -64,7 +64,7 @@ TABS.adjustments.initialize = function (callback) {
|
||||||
|
|
||||||
// update list of selected functions
|
// update list of selected functions
|
||||||
var functionListOptions = $(functionList).find('option');
|
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);
|
var functionListOptions = $(functionListOptions).slice(0,availableFunctionCount);
|
||||||
functionList.empty().append(functionListOptions);
|
functionList.empty().append(functionListOptions);
|
||||||
|
|
|
@ -1831,6 +1831,11 @@ OSD.constants = {
|
||||||
id: 134,
|
id: 134,
|
||||||
preview: 'TPA TC 10'
|
preview: 'TPA TC 10'
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
name: 'FW_LEVEL_TRIM',
|
||||||
|
id: 135,
|
||||||
|
preview: 'LEVEL ' + FONT.embed_dot('5.4')
|
||||||
|
},
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue