mirror of
https://github.com/betaflight/betaflight-configurator.git
synced 2025-07-25 09:15:49 +03:00
Moved getSerialRxTypes to not interfere with backup/restore
This commit is contained in:
parent
56e5299be3
commit
27a4849ddf
3 changed files with 54 additions and 54 deletions
|
@ -345,7 +345,7 @@ OSD.generateTemperaturePreview = function(osdData, temperature) {
|
|||
};
|
||||
|
||||
OSD.generateLQPreview = function() {
|
||||
const crsfIndex = FC.RX_CONFIG.getSerialRxTypes().findIndex(name => name === 'CRSF');
|
||||
const crsfIndex = FC.getSerialRxTypes().findIndex(name => name === 'CRSF');
|
||||
const isXF = crsfIndex === FC.RX_CONFIG.serialrx_provider;
|
||||
return FONT.symbol(SYM.LINK_QUALITY) + (isXF ? '2:100' : '8');
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue