mirror of
https://github.com/betaflight/betaflight-configurator.git
synced 2025-07-19 14:25:14 +03:00
Fixed syntax error in Features.js
.
This commit is contained in:
parent
398228bf45
commit
24c601df72
1 changed files with 2 additions and 2 deletions
|
@ -66,7 +66,7 @@ var Features = function (config) {
|
|||
|
||||
if (semver.gte(CONFIG.apiVersion, "1.20.0")) {
|
||||
features.push(
|
||||
{bit: 18, group: 'other', name: 'OSD'},
|
||||
{bit: 18, group: 'other', name: 'OSD'}
|
||||
);
|
||||
if (!semver.gte(CONFIG.apiVersion, "1.35.0")) {
|
||||
features.push(
|
||||
|
@ -92,7 +92,7 @@ var Features = function (config) {
|
|||
if (!semver.gte(CONFIG.apiVersion, "1.36.0")) {
|
||||
features.push(
|
||||
{bit: 1, group: 'batteryVoltage', name: 'VBAT'},
|
||||
{bit: 11, group: 'batteryCurrent', name: 'CURRENT_METER'},
|
||||
{bit: 11, group: 'batteryCurrent', name: 'CURRENT_METER'}
|
||||
);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue