Merge pull request #83 from mikeller/fix_legacy_rates_display
Fixed rates curve display for legacy rates.10.3.x-maintenance
commit
13263b5629
|
@ -274,11 +274,11 @@
|
||||||
<td i18n="pidTuningMaxAngularVelRoll"></td>
|
<td i18n="pidTuningMaxAngularVelRoll"></td>
|
||||||
<td class="maxAngularVelRoll"></td>
|
<td class="maxAngularVelRoll"></td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr class="new_rates">
|
||||||
<td i18n="pidTuningMaxAngularVelPitch"></td>
|
<td i18n="pidTuningMaxAngularVelPitch"></td>
|
||||||
<td class="maxAngularVelPitch"></td>
|
<td class="maxAngularVelPitch"></td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr class="new_rates">
|
||||||
<td i18n="pidTuningMaxAngularVelYaw"></td>
|
<td i18n="pidTuningMaxAngularVelYaw"></td>
|
||||||
<td class="maxAngularVelYaw"></td>
|
<td class="maxAngularVelYaw"></td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
|
@ -473,7 +473,7 @@ TABS.pid_tuning.initialize = function (callback) {
|
||||||
|
|
||||||
var useLegacyCurve = false;
|
var useLegacyCurve = false;
|
||||||
if (CONFIG.flightControllerIdentifier !== "BTFL" || semver.lt(CONFIG.flightControllerVersion, "2.8.0")) {
|
if (CONFIG.flightControllerIdentifier !== "BTFL" || semver.lt(CONFIG.flightControllerVersion, "2.8.0")) {
|
||||||
$('.pid_tuning .new_rates').hide();
|
$('.rc_curve .new_rates').hide();
|
||||||
useLegacyCurve = true;
|
useLegacyCurve = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue