mirror of
https://github.com/betaflight/betaflight-configurator.git
synced 2025-07-23 08:15:22 +03:00
Added support for rateprofile switching.
Fixed rateprofile switching.
This commit is contained in:
parent
e97f6685d4
commit
91ccc659d4
7 changed files with 210 additions and 82 deletions
|
@ -274,9 +274,10 @@ function onConnect() {
|
|||
|
||||
if (semver.gte(CONFIG.flightControllerVersion, "2.4.0")) {
|
||||
CONFIG.numProfiles = 2;
|
||||
$('select[name="profilechange"] .profile3').hide();
|
||||
$('.tab-pid_tuning select[name="profile"] .profile3').hide();
|
||||
} else {
|
||||
CONFIG.numProfiles = 3;
|
||||
$('.tab-pid_tuning select[name="rate_profile"]').hide();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue