1
0
Fork 0
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:
mikeller 2016-07-24 23:09:51 +12:00
parent 7e7361dafd
commit 9594cbded5
12 changed files with 104 additions and 116 deletions

View file

@ -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")) {