1
0
Fork 0
mirror of https://github.com/iNavFlight/inav-configurator.git synced 2025-07-24 16:55:22 +03:00

Add blackbox element to osd page

Accompanies iNavFlight/inav#9617
This commit is contained in:
Darren Lines 2024-01-13 10:38:33 +00:00
parent 4643640f7c
commit d256a427f7

View file

@ -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;
@ -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');
}
},
]
},
{