1
0
Fork 0
mirror of https://github.com/betaflight/betaflight-configurator.git synced 2025-07-23 08:15:22 +03:00

Fixed range for Dterm tetpoint transition, fixed outdated naming of Dterm setpoint transition.

This commit is contained in:
mikeller 2018-01-14 12:58:41 +13:00
parent f728e441d8
commit 2dd786bd08
5 changed files with 22 additions and 22 deletions

View file

@ -348,7 +348,7 @@ var FC = {
yaw_p_limit: 0,
deltaMethod: 0,
vbatPidCompensation: 0,
ptermSetpointWeight: 0,
dtermSetpointTransition: 0,
dtermSetpointWeight: 0,
toleranceBand: 0,
toleranceBandReduction: 0,

View file

@ -845,7 +845,7 @@ MspHelper.prototype.process_data = function(dataHandler) {
ADVANCED_TUNING.deltaMethod = data.readU8();
ADVANCED_TUNING.vbatPidCompensation = data.readU8();
if (semver.gte(CONFIG.apiVersion, "1.20.0")) {
ADVANCED_TUNING.ptermSetpointWeight = data.readU8();
ADVANCED_TUNING.dtermSetpointTransition = data.readU8();
ADVANCED_TUNING.dtermSetpointWeight = data.readU8();
ADVANCED_TUNING.toleranceBand = data.readU8();
ADVANCED_TUNING.toleranceBandReduction = data.readU8();
@ -1471,7 +1471,7 @@ MspHelper.prototype.crunch = function(code) {
.push16(ADVANCED_TUNING.yaw_p_limit)
.push8(ADVANCED_TUNING.deltaMethod)
.push8(ADVANCED_TUNING.vbatPidCompensation)
.push8(ADVANCED_TUNING.ptermSetpointWeight)
.push8(ADVANCED_TUNING.dtermSetpointTransition)
.push8(ADVANCED_TUNING.dtermSetpointWeight)
.push8(ADVANCED_TUNING.toleranceBand)
.push8(ADVANCED_TUNING.toleranceBandReduction)