From f64a707c374ecf2b02ff4cbdfe13965a2638b4fa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alberto=20Garci=CC=81a=20Hierro?= Date: Sat, 19 May 2018 11:53:20 +0100 Subject: [PATCH] Fix air speed preview in UK mode As reported in https://github.com/iNavFlight/inav/issues/3235 --- tabs/osd.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tabs/osd.js b/tabs/osd.js index 3d2894f1..a692cb74 100644 --- a/tabs/osd.js +++ b/tabs/osd.js @@ -504,7 +504,7 @@ OSD.constants = { }, preview: function(osd_data) { var speed; - if (OSD.data.preferences.units === 0) { + if (OSD.data.preferences.units === 0 || OSD.data.preferences.units === 2) { // Imperial speed = ' 35' + FONT.symbol(SYM.MPH); } else {