diff --git a/src/css/tabs/failsafe.less b/src/css/tabs/failsafe.less index bb2d9764e9..8c62277f2c 100644 --- a/src/css/tabs/failsafe.less +++ b/src/css/tabs/failsafe.less @@ -1,5 +1,15 @@ .tab-failsafe { position: relative; + .modename { + background-color: #828885; + border-radius: 3px; + border: 1px solid #686c6a; + color: #fff !important; + font-weight: 600 !important; + padding-left: 3px; + padding-right: 3px; + margin-right: 3px; + } .number { label { display: flex; diff --git a/src/js/fc.js b/src/js/fc.js index b3fba1c96a..5c36dfa681 100644 --- a/src/js/fc.js +++ b/src/js/fc.js @@ -798,10 +798,10 @@ const FC = { getSupportedSerialRxTypes: () => { if (FC.CONFIG.buildOptions?.length) { const options = FC.CONFIG.buildOptions; - let supportedRxTypes = ['NONE',]; + let supportedRxTypes = ['NONE']; if (options.includes('USE_SERIALRX_TARGET_CUSTOM')) { supportedRxTypes.push('TARGET_CUSTOM'); - } + } if (options.includes('USE_SERIALRX_SPEKTRUM')) { supportedRxTypes.push('SPEKTRUM1024'); supportedRxTypes.push('SPEKTRUM2048');