mirror of
https://github.com/iNavFlight/inav-configurator.git
synced 2025-07-23 00:05:19 +03:00
Adds CRSF LQ Formats
Adds LQ format used by TBS hardware and format used by other FC software.
This commit is contained in:
parent
60933c6b02
commit
a4865bc713
3 changed files with 19 additions and 4 deletions
16
tabs/osd.js
16
tabs/osd.js
|
@ -1353,10 +1353,18 @@ OSD.constants = {
|
|||
preview: FONT.symbol(SYM.RSSI) + '-100' + FONT.symbol(SYM.DBM)
|
||||
},
|
||||
{
|
||||
name: 'CRSF_LQ',
|
||||
id: 110,
|
||||
positionable: true,
|
||||
preview: '300%',
|
||||
name: 'CRSF_LQ',
|
||||
id: 110,
|
||||
positionable: true,
|
||||
preview: function(osd_data) {
|
||||
var crsflqformat;
|
||||
if (Settings.getInputValue('osd_crsf_lq_format') == 1) {
|
||||
crsflqformat = '2:100%';
|
||||
} else {
|
||||
crsflqformat = ' 300%';
|
||||
}
|
||||
return crsflqformat;
|
||||
}
|
||||
},
|
||||
{
|
||||
name: 'CRSF_SNR_DB',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue