Merge pull request #451 from iNavFlight/agh_fix_airspeed_preview

Fix air speed preview in UK mode
pull/456/head
Paweł Spychalski 6 years ago committed by GitHub
commit 8e2768377c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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 {

Loading…
Cancel
Save