Skip to content

Commit

Permalink
Merge pull request #1941 from iNavFlight/MrD_Add-blackbox-element-to-…
Browse files Browse the repository at this point in the history
…OSD-page-8.0

Add blackbox element to osd page
  • Loading branch information
MrD-RC authored Sep 19, 2024
2 parents caf0d34 + 614148b commit 45e7e41
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 @@ -137,7 +137,8 @@ SYM.ALERT = 0xDD;
SYM.CROSS_TRACK_ERROR = 0xFC;
SYM.ADSB = 0xFD;
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 @@ -1066,7 +1067,15 @@ OSD.constants = {
id: 144,
min_version: '6.0.0',
preview: '0 WARNINGS'
}
},
{
name: 'BLACKBOX',
id: 149,
min_version: '8.0.0',
preview: function(osd_data) {
return FONT.symbol(SYM.BLACKBOX) + FONT.embed_dot('000123');
}
},
]
},
{
Expand Down

0 comments on commit 45e7e41

Please sign in to comment.