From e77de7dba7a3e5726cd80a9fb1bdaceea0962a30 Mon Sep 17 00:00:00 2001 From: mikeller Date: Thu, 30 Jun 2016 22:15:35 +1200 Subject: [PATCH] Fixed bug in yaw rate curve display for version < 2.8.1 --- tabs/pid_tuning.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tabs/pid_tuning.js b/tabs/pid_tuning.js index 8eef6943..b5183dad 100755 --- a/tabs/pid_tuning.js +++ b/tabs/pid_tuning.js @@ -412,6 +412,8 @@ TABS.pid_tuning.initialize = function (callback) { var rateElementYaw = 1; if (CONFIG.flightControllerIdentifier == "BTFL" && semver.gte(CONFIG.flightControllerVersion, "2.8.1")) { rateElementYaw = $('.pid_tuning input[name="rc_rate_yaw"]'); + } else { + rateElementYaw = rateElement; } drawRateCurve(rateElement, sRateElementRoll, expoElement, rcCurveElement);