1
0
Fork 0
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:
Darren Lines 2022-05-11 18:14:15 +01:00
parent 705c8fe88b
commit 16d0366ddd
4 changed files with 10 additions and 1 deletions

View file

@ -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"
}, },

View file

@ -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>

View file

@ -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);

View file

@ -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')
},
] ]
}, },
{ {