From 9c98453d15c04dd92edf90aa59e0c6faa714c67d Mon Sep 17 00:00:00 2001 From: Miguel Angel Mulero Martinez Date: Fri, 10 May 2019 11:35:33 +0200 Subject: [PATCH] Update PITCH and ROLL OSD symbols --- src/js/tabs/osd.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/js/tabs/osd.js b/src/js/tabs/osd.js index dbed59b5..c9335319 100644 --- a/src/js/tabs/osd.js +++ b/src/js/tabs/osd.js @@ -52,6 +52,8 @@ SYM.STICK_OVERLAY_VERTICAL = 0x16; SYM.STICK_OVERLAY_HORIZONTAL = 0x17; SYM.BBLOG = 0x10; SYM.ALTITUDE = 0x7F; +SYM.PITCH = 0x15; +SYM.ROLL = 0x14; var STICK_OVERLAY_SPRITE = [ SYM.STICK_OVERLAY_SPRITE_HIGH, @@ -716,7 +718,7 @@ OSD.constants = { default_position: -1, draw_order: 250, positionable: true, - preview: '-00.0' + preview: FONT.symbol(SYM.PITCH) + '-00.0' }, ROLL_ANGLE: { name: 'ROLL_ANGLE', @@ -724,7 +726,7 @@ OSD.constants = { default_position: -1, draw_order: 260, positionable: true, - preview: '-00.0' + preview: FONT.symbol(SYM.ROLL) + '-00.0' }, MAIN_BATT_USAGE: { name: 'MAIN_BATT_USAGE',