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

Add Link Quality symbol to the OSD preview (#1505)

Add Link Quality symbol to the OSD preview
This commit is contained in:
Michael Keller 2019-06-29 14:37:44 +12:00 committed by GitHub
commit c425a330cb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -6,6 +6,7 @@ SYM.loadSymbols = function() {
SYM.BLANK = 0x20; SYM.BLANK = 0x20;
SYM.VOLT = 0x06; SYM.VOLT = 0x06;
SYM.RSSI = 0x01; SYM.RSSI = 0x01;
SYM.LINK_QUALITY = 0x7B;
SYM.AH_RIGHT = 0x02; SYM.AH_RIGHT = 0x02;
SYM.AH_LEFT = 0x03; SYM.AH_LEFT = 0x03;
SYM.THR = 0x04; SYM.THR = 0x04;
@ -72,6 +73,7 @@ SYM.loadSymbols = function() {
SYM.AH_CENTER = 0x7E; SYM.AH_CENTER = 0x7E;
SYM.AH_CENTER_LINE_RIGHT = 0x27; SYM.AH_CENTER_LINE_RIGHT = 0x27;
SYM.SPEED = null; SYM.SPEED = null;
SYM.LINK_QUALITY = null;
} }
} }
@ -983,7 +985,7 @@ OSD.loadDisplayFields = function() {
default_position: -1, default_position: -1,
draw_order: 390, draw_order: 390,
positionable: true, positionable: true,
preview: '8' preview: FONT.symbol(SYM.LINK_QUALITY) + '8'
}, },
FLIGHT_DIST: { FLIGHT_DIST: {
name: 'FLIGHT_DISTANCE', name: 'FLIGHT_DISTANCE',