mirror of
https://github.com/betaflight/betaflight-configurator.git
synced 2025-07-19 06:15:13 +03:00
Fixed bug in yaw rate curve display for version < 2.8.1
This commit is contained in:
parent
ecfb1bcbca
commit
e77de7dba7
1 changed files with 2 additions and 0 deletions
|
@ -412,6 +412,8 @@ TABS.pid_tuning.initialize = function (callback) {
|
||||||
var rateElementYaw = 1;
|
var rateElementYaw = 1;
|
||||||
if (CONFIG.flightControllerIdentifier == "BTFL" && semver.gte(CONFIG.flightControllerVersion, "2.8.1")) {
|
if (CONFIG.flightControllerIdentifier == "BTFL" && semver.gte(CONFIG.flightControllerVersion, "2.8.1")) {
|
||||||
rateElementYaw = $('.pid_tuning input[name="rc_rate_yaw"]');
|
rateElementYaw = $('.pid_tuning input[name="rc_rate_yaw"]');
|
||||||
|
} else {
|
||||||
|
rateElementYaw = rateElement;
|
||||||
}
|
}
|
||||||
|
|
||||||
drawRateCurve(rateElement, sRateElementRoll, expoElement, rcCurveElement);
|
drawRateCurve(rateElement, sRateElementRoll, expoElement, rcCurveElement);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue