mirror of
https://github.com/iNavFlight/inav-configurator.git
synced 2025-07-13 19:40:22 +03:00
fixed unit system to match with osd ids
This commit is contained in:
parent
fb32ee614a
commit
5667b831d6
1 changed files with 7 additions and 7 deletions
|
@ -177,18 +177,18 @@ var Settings = (function () {
|
||||||
|
|
||||||
//this holds which units get converted in which unit systems
|
//this holds which units get converted in which unit systems
|
||||||
const conversionTable = {
|
const conversionTable = {
|
||||||
0: {//metric
|
0: { //imperial
|
||||||
'cm': 'm',
|
|
||||||
'cms' : 'kmh',
|
|
||||||
'ms' : 'sec',
|
|
||||||
'cdeg' : 'deg'
|
|
||||||
},
|
|
||||||
1: { //imperial
|
|
||||||
'cm' : 'ft',
|
'cm' : 'ft',
|
||||||
'cms' : 'mph',
|
'cms' : 'mph',
|
||||||
'cdeg' : 'deg',
|
'cdeg' : 'deg',
|
||||||
'ms' : 'sec'
|
'ms' : 'sec'
|
||||||
},
|
},
|
||||||
|
1: {//metric
|
||||||
|
'cm': 'm',
|
||||||
|
'cms' : 'kmh',
|
||||||
|
'ms' : 'sec',
|
||||||
|
'cdeg' : 'deg'
|
||||||
|
},
|
||||||
2: { //metric with MPH
|
2: { //metric with MPH
|
||||||
'cm': 'm',
|
'cm': 'm',
|
||||||
'cms' : 'mph',
|
'cms' : 'mph',
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue