1
0
Fork 0
mirror of https://github.com/iNavFlight/inav-configurator.git synced 2025-07-13 11:29:53 +03:00

swapped the manual selection aswell

This commit is contained in:
COOK1EK1W1 2021-12-28 14:27:30 +00:00
parent 5667b831d6
commit a01db41a89

View file

@ -104,10 +104,10 @@ var Settings = (function () {
const getUnitDisplayTypeValue = () => {
// Try and match the values
switch (configUnitType) {
case UnitType.metric:
case UnitType.imperial:
return 0;
break;
case UnitType.imperial:
case UnitType.metric:
return 1;
break;
case UnitType.OSD: // Match the OSD value on the UI