Skip to content

Commit 8e27683

Browse files
authored
Merge pull request #451 from iNavFlight/agh_fix_airspeed_preview
Fix air speed preview in UK mode
2 parents f2f2d7b + f64a707 commit 8e27683

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tabs/osd.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -504,7 +504,7 @@ OSD.constants = {
504504
},
505505
preview: function(osd_data) {
506506
var speed;
507-
if (OSD.data.preferences.units === 0) {
507+
if (OSD.data.preferences.units === 0 || OSD.data.preferences.units === 2) {
508508
// Imperial
509509
speed = ' 35' + FONT.symbol(SYM.MPH);
510510
} else {

0 commit comments

Comments
 (0)