mirror of
https://github.com/betaflight/betaflight-configurator.git
synced 2025-07-23 16:25:22 +03:00
Added feature for SDCard.
This commit is contained in:
parent
1809723142
commit
d503c79ebb
2 changed files with 13 additions and 4 deletions
|
@ -53,10 +53,16 @@ var Features = function (config) {
|
|||
);
|
||||
}
|
||||
|
||||
if (semver.gte(config.flightControllerVersion, "2.8.0") && !semver.gte(config.flightControllerVersion, "3.0.0")) {
|
||||
features.push(
|
||||
{bit: 23, group: 'pidTuning', name: 'SUPEREXPO_RATES'}
|
||||
);
|
||||
if (semver.gte(config.flightControllerVersion, "2.8.0")) {
|
||||
if (!semver.gte(config.flightControllerVersion, "3.0.0")) {
|
||||
features.push(
|
||||
{bit: 23, group: 'pidTuning', name: 'SUPEREXPO_RATES'}
|
||||
);
|
||||
} else {
|
||||
features.push(
|
||||
{bit: 23, group: 'other', name: 'SDCARD'}
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
if (semver.gte(config.flightControllerVersion, "3.0.0")) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue