1
0
Fork 0
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:
mikeller 2017-12-24 11:27:57 +13:00
parent 398228bf45
commit 24c601df72

View file

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