Merge pull request #83 from mikeller/fix_legacy_rates_display

Fixed rates curve display for legacy rates.
10.3.x-maintenance
Michael Keller 2016-07-06 12:13:41 +12:00 committed by GitHub
commit 13263b5629
2 changed files with 3 additions and 3 deletions

View File

@ -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>

View File

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