1
0
Fork 0
mirror of https://github.com/betaflight/betaflight-configurator.git synced 2025-07-24 00:35:26 +03:00

Added altitude symbol in OSD.

This commit is contained in:
mikeller 2019-05-05 22:02:08 +12:00
parent 66a5611e1f
commit 769cad8f1f

View file

@ -49,6 +49,7 @@ SYM.STICK_OVERLAY_CENTER = 0x0B;
SYM.STICK_OVERLAY_VERTICAL = 0x16;
SYM.STICK_OVERLAY_HORIZONTAL = 0x17;
SYM.BBLOG = 0x10;
SYM.ALTITUDE = 0x7F;
var STICK_OVERLAY_SPRITE = [
SYM.STICK_OVERLAY_SPRITE_HIGH,
@ -583,7 +584,7 @@ OSD.constants = {
draw_order: 160,
positionable: true,
preview: function (osd_data) {
return ' 399.7' + FONT.symbol(osd_data.unit_mode === 0 ? SYM.FEET : SYM.METRE);
return FONT.symbol(SYM.ALTITUDE) + ' 399.7' + FONT.symbol(osd_data.unit_mode === 0 ? SYM.FEET : SYM.METRE);
}
},
ONTIME: {