mirror of
https://github.com/betaflight/betaflight-configurator.git
synced 2025-07-24 16:55:24 +03:00
Make telemetry default for jeti (#4201)
This commit is contained in:
parent
36ccc26acc
commit
6ad260106f
2 changed files with 2 additions and 1 deletions
|
@ -49,7 +49,7 @@ const Features = function (config) {
|
|||
// Add TELEMETRY feature if any of the following protocols are used: CRSF, GHST, FPORT
|
||||
if (semver.gte(config.apiVersion, API_VERSION_1_46)) {
|
||||
let enableTelemetry = false;
|
||||
if (config.buildOptions.some(opt => opt.includes('CRSF') || opt.includes('GHST') || opt.includes('FPORT'))) {
|
||||
if (config.buildOptions.some(opt => opt.includes('CRSF') || opt.includes('GHST') || opt.includes('FPORT') || opt.includes('JETI'))) {
|
||||
enableTelemetry = true;
|
||||
}
|
||||
|
||||
|
|
|
@ -195,6 +195,7 @@ firmware_flasher.initialize = function (callback) {
|
|||
'USE_SERIALRX_CRSF',
|
||||
'USE_SERIALRX_FPORT',
|
||||
'USE_SERIALRX_GHST',
|
||||
'USE_SERIALRX_JETIEXBUS',
|
||||
].includes(radioProtocol);
|
||||
|
||||
$('select[name="telemetryProtocols"]').attr('disabled', hasTelemetryEnabledByDefault);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue