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
|
||||
const conversionTable = {
|
||||
0: {//metric
|
||||
'cm': 'm',
|
||||
'cms' : 'kmh',
|
||||
'ms' : 'sec',
|
||||
'cdeg' : 'deg'
|
||||
},
|
||||
1: { //imperial
|
||||
0: { //imperial
|
||||
'cm' : 'ft',
|
||||
'cms' : 'mph',
|
||||
'cdeg' : 'deg',
|
||||
'ms' : 'sec'
|
||||
},
|
||||
1: {//metric
|
||||
'cm': 'm',
|
||||
'cms' : 'kmh',
|
||||
'ms' : 'sec',
|
||||
'cdeg' : 'deg'
|
||||
},
|
||||
2: { //metric with MPH
|
||||
'cm': 'm',
|
||||
'cms' : 'mph',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue