mirror of
https://github.com/betaflight/betaflight-configurator.git
synced 2025-07-26 17:55:24 +03:00
Fix superExpo in the receiver preview
This commit is contained in:
parent
a36329c860
commit
6b9fbc5930
1 changed files with 2 additions and 2 deletions
|
@ -549,8 +549,8 @@ TABS.receiver.initModelPreview = function () {
|
|||
this.model = new Model($('.model_preview'), $('.model_preview canvas'));
|
||||
|
||||
this.useSuperExpo = false;
|
||||
if (semver.gte(CONFIG.apiVersion, "1.16.0")) {
|
||||
this.useSuperExpo = FEATURE_CONFIG.features.isEnabled('SUPEREXPO_RATES');
|
||||
if (semver.gte(CONFIG.apiVersion, "1.20.0") || (semver.gte(CONFIG.apiVersion, "1.16.0") && FEATURE_CONFIG.features.isEnabled('SUPEREXPO_RATES'))) {
|
||||
this.useSuperExpo = true;
|
||||
}
|
||||
|
||||
var useOldRateCurve = false;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue