Merge pull request #1023 from etracer65/fix_osd_preview_speed_units
Fix OSD preview to use correct units suffix for GPS speed10.3.x-maintenance
commit
38f2b314fd
|
@ -519,7 +519,9 @@ OSD.constants = {
|
|||
default_position: -1,
|
||||
draw_order: 330,
|
||||
positionable: true,
|
||||
preview: ' 40K'
|
||||
preview: function(osd_data) {
|
||||
return ' 40' + (osd_data.unit_mode === 0 ? 'M' : 'K');
|
||||
}
|
||||
},
|
||||
GPS_SATS: {
|
||||
name: 'GPS_SATS',
|
||||
|
|
Loading…
Reference in New Issue