1
0
Fork 0
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:
mikeller 2016-07-28 01:24:16 +12:00 committed by Michael Keller
parent e97f6685d4
commit 91ccc659d4
7 changed files with 210 additions and 82 deletions

View file

@ -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();
}
}