mirror of
https://github.com/iNavFlight/inav-configurator.git
synced 2025-07-16 04:45:18 +03:00
move index to ascii conversion for rcmap out of msp protocol, define feature index array (will get a proper text polish in the future)
updating mixer select with missing names
This commit is contained in:
parent
4894f7493a
commit
fee5219a73
3 changed files with 25 additions and 6 deletions
|
@ -47,6 +47,27 @@ TABS.configuration.initialize = function (callback) {
|
|||
// translate to user-selected language
|
||||
localize();
|
||||
|
||||
// index references
|
||||
var featureNames = [
|
||||
'PPM',
|
||||
'VBAT',
|
||||
'INFLIGHT_ACC_CAL',
|
||||
'SERIALRX',
|
||||
'MOTOR_STOP',
|
||||
'SERVO_TILT',
|
||||
'SOFTSERIAL',
|
||||
'LED_RING',
|
||||
'GPS',
|
||||
'FAILSAFE',
|
||||
'SONAR',
|
||||
'TELEMETRY',
|
||||
'POWERMETER',
|
||||
'VARIO',
|
||||
'3D'
|
||||
];
|
||||
|
||||
var RCMAPlLetters = ['A', 'E', 'R', 'T', '1', '2', '3', '4'];
|
||||
|
||||
console.log('all ready');
|
||||
|
||||
if (callback) callback();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue