1
0
Fork 0
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:
visdauas 2020-11-19 22:41:36 +01:00
parent 56e5299be3
commit 27a4849ddf
3 changed files with 54 additions and 54 deletions

View file

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