Merge pull request #270 from fiam/uk_preview

Show the correct preview for OSD_GPS_SPEED in UK mode
pull/273/head
Paweł Spychalski 7 years ago committed by GitHub
commit b0fc685fb7

@ -499,7 +499,7 @@ OSD.constants = {
id: 13, id: 13,
preview: function(osd_data) { preview: function(osd_data) {
// 3 chars // 3 chars
if (OSD.data.unit_mode === 0) { if (OSD.data.unit_mode === 0 || OSD.data.unit_mode === 2) {
// Imperial // Imperial
return FONT.embed_dot(' 25') + FONT.symbol(SYM.MPH); return FONT.embed_dot(' 25') + FONT.symbol(SYM.MPH);
} }

Loading…
Cancel
Save