Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/iNavFlight/inav-configurator.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/tabs
diff options
context:
space:
mode:
authorKonstantin Sharlaimov <konstantin.sharlaimov@gmail.com>2019-06-03 14:26:24 +0300
committerGitHub <noreply@github.com>2019-06-03 14:26:24 +0300
commitc8dc6510674383d7aa44f28f0bfe1e36a0cbe6f3 (patch)
tree5ecc3d444fad0e4f83a65323a5e45c1db19737c1 /tabs
parent7de99f3005854f5cfe8e24bc51c890c09603694b (diff)
parentb0e93c131d6f03df4aa653bfcd71303c2c2c96e2 (diff)
Merge pull request #786 from OlivierC-FR/oc_gforce
Gforce icons for Vision + preview
Diffstat (limited to 'tabs')
-rw-r--r--tabs/osd.js12
1 files changed, 8 insertions, 4 deletions
diff --git a/tabs/osd.js b/tabs/osd.js
index 236d42b2..8b387bc7 100644
--- a/tabs/osd.js
+++ b/tabs/osd.js
@@ -78,6 +78,10 @@ SYM.LAST_CHAR = 190;
SYM.BARO_TEMP = 0xF0;
SYM.IMU_TEMP = 0xF1;
SYM.TEMP = 0xF2;
+SYM.GFORCE = 0xE6;
+SYM.GFORCE_X = 0xE7;
+SYM.GFORCE_Y = 0xE8;
+SYM.GFORCE_Z = 0xE9;
var FONT = FONT || {};
@@ -950,25 +954,25 @@ OSD.constants = {
name: 'G_FORCE',
id: 100,
min_version: '2.2.0',
- preview: FONT.embed_dot('1.00')
+ preview: FONT.symbol(SYM.GFORCE) + FONT.embed_dot('1.00')
},
{
name: 'G_FORCE_X',
id: 101,
min_version: '2.2.0',
- preview: FONT.embed_dot('-0.10')
+ preview: FONT.symbol(SYM.GFORCE_X) + FONT.embed_dot('-0.10')
},
{
name: 'G_FORCE_Y',
id: 102,
min_version: '2.2.0',
- preview: FONT.embed_dot('-0.10')
+ preview: FONT.symbol(SYM.GFORCE_Y) + FONT.embed_dot('-0.20')
},
{
name: 'G_FORCE_Z',
id: 103,
min_version: '2.2.0',
- preview: FONT.embed_dot('-0.10')
+ preview: FONT.symbol(SYM.GFORCE_Z) + FONT.embed_dot('-0.30')
},
]
},