Skip to content

Commit

Permalink
Add blackbox element to osd page
Browse files Browse the repository at this point in the history
  • Loading branch information
MrD-RC committed Jan 13, 2024
1 parent 4643640 commit d256a42
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions tabs/osd.js
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,8 @@ SYM.GROUND_COURSE = 0xDC;
SYM.ALERT = 0xDD;
SYM.CROSS_TRACK_ERROR = 0xFC;
SYM.PAN_SERVO_IS_OFFSET_L = 0x1C7;
SYM.ODOMETER = 0X168;
SYM.ODOMETER = 0x168;
SYM.BLACKBOX = 0xFE;
SYM.PILOT_LOGO_SML_L = 0x1D5;
SYM.PILOT_LOGO_SML_C = 0x1D6;
SYM.PILOT_LOGO_SML_R = 0x1D7;
Expand Down Expand Up @@ -1014,7 +1015,15 @@ OSD.constants = {
id: 144,
min_version: '6.0.0',
preview: '0 WARNINGS'
}
},
{
name: 'BLACKBOX',
id: 147,
min_version: '8.0.0',
preview: function(osd_data) {
return FONT.symbol(SYM.BLACKBOX) + FONT.embed_dot('000123');
}
},
]
},
{
Expand Down

0 comments on commit d256a42

Please sign in to comment.