Merge pull request #520 from McGiverGim/add_home_direction_arrow_to_OSD

Add HOME DIR to OSD
10.3.x-maintenance
Michael Keller 2017-06-12 22:54:38 +12:00 committed by GitHub
commit 6fa9d80dce
1 changed files with 10 additions and 2 deletions

View File

@ -454,7 +454,14 @@ OSD.constants = {
default_position: -1, default_position: -1,
positionable: true, positionable: true,
preview: FONT.symbol(SYM.FLY_M) + '02:07' 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: { ALL_STATISTIC_FIELDS: {
@ -542,7 +549,8 @@ OSD.chooseFields = function () {
OSD.constants.DISPLAY_FIELDS = OSD.constants.DISPLAY_FIELDS.concat([ OSD.constants.DISPLAY_FIELDS = OSD.constants.DISPLAY_FIELDS.concat([
F.MAIN_BATT_USAGE, F.MAIN_BATT_USAGE,
F.ARMED_TIME, F.ARMED_TIME,
F.DISARMED F.DISARMED,
F.HOME_DIR
]); ]);
} }
} }