mirror of
https://github.com/iNavFlight/inav-configurator.git
synced 2025-07-23 16:25:19 +03:00
Add TPA-Adjustment (+ OSD Element)
This commit is contained in:
parent
1de9a82289
commit
5eb9cc0498
4 changed files with 14 additions and 1 deletions
|
@ -1304,6 +1304,12 @@
|
|||
"adjustmentsFunction49": {
|
||||
"message": "VTX power level Adjustment"
|
||||
},
|
||||
"adjustmentsFunction50": {
|
||||
"message": "Thrust PID Attenuation (TPA) Adjustment"
|
||||
},
|
||||
"adjustmentsFunction51": {
|
||||
"message": "TPA Breakpoint Adjustment"
|
||||
},
|
||||
"adjustmentsSave": {
|
||||
"message": "Save"
|
||||
},
|
||||
|
|
|
@ -114,6 +114,8 @@
|
|||
<option value="47" i18n="adjustmentsFunction47"></option>
|
||||
<option value="48" i18n="adjustmentsFunction48"></option>
|
||||
<option value="49" i18n="adjustmentsFunction49"></option>
|
||||
<option value="50" i18n="adjustmentsFunction50"></option>
|
||||
<option value="51" i18n="adjustmentsFunction51"></option>
|
||||
</select></td>
|
||||
<td class="adjustmentSlot"><select class="slot">
|
||||
<option value="0" i18n="adjustmentsSlot0"></option>
|
||||
|
|
|
@ -64,7 +64,7 @@ TABS.adjustments.initialize = function (callback) {
|
|||
|
||||
// update list of selected functions
|
||||
var functionListOptions = $(functionList).find('option');
|
||||
var availableFunctionCount = 50;
|
||||
var availableFunctionCount = 52;
|
||||
|
||||
var functionListOptions = $(functionListOptions).slice(0,availableFunctionCount);
|
||||
functionList.empty().append(functionListOptions);
|
||||
|
|
|
@ -1466,6 +1466,11 @@ OSD.constants = {
|
|||
id: 77,
|
||||
preview: '0TP ' + FONT.embed_dot('4.5')
|
||||
},
|
||||
{
|
||||
name: 'THRUST_PID_ATTENUATION',
|
||||
id: 109,
|
||||
preview: 'TPA 0\nBP 1500'
|
||||
},
|
||||
]
|
||||
},
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue