From 9d41f3e91222e48d8cff0faf44e7bf2a6e79a2c4 Mon Sep 17 00:00:00 2001 From: Miguel Angel Mulero Martinez Date: Fri, 9 Jun 2017 09:59:56 +0200 Subject: [PATCH] Add HOME DIR to OSD --- tabs/osd.js | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/tabs/osd.js b/tabs/osd.js index b037c617..3f5d17c5 100755 --- a/tabs/osd.js +++ b/tabs/osd.js @@ -454,7 +454,14 @@ OSD.constants = { default_position: -1, positionable: true, preview: FONT.symbol(SYM.FLY_M) + '02:07' - } + }, + HOME_DIR: { + name: 'HOME_DIR', + default_position: -1, + positionable: true, + preview: FONT.symbol(SYM.ARROW_SOUTH + 2) + } + }, ALL_STATISTIC_FIELDS: { @@ -542,7 +549,8 @@ OSD.chooseFields = function () { OSD.constants.DISPLAY_FIELDS = OSD.constants.DISPLAY_FIELDS.concat([ F.MAIN_BATT_USAGE, F.ARMED_TIME, - F.DISARMED + F.DISARMED, + F.HOME_DIR ]); } }