mirror of
https://github.com/betaflight/betaflight-configurator.git
synced 2025-07-24 00:35:26 +03:00
Centralised feature handler in BF_CONFIG. Switched all access to features to use the handler.
This commit is contained in:
parent
7e7361dafd
commit
9594cbded5
12 changed files with 104 additions and 116 deletions
|
@ -265,6 +265,8 @@ function onConnect() {
|
|||
$('#tabs ul.mode-connected-cli').show();
|
||||
|
||||
if (CONFIG.flightControllerVersion !== '') {
|
||||
BF_CONFIG.features = new Features(CONFIG);
|
||||
|
||||
$('#tabs ul.mode-connected').show();
|
||||
|
||||
if (semver.gte(CONFIG.flightControllerVersion, "3.0.0")) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue