mirror of
https://github.com/betaflight/betaflight-configurator.git
synced 2025-07-16 21:05:30 +03:00
Add iterm relax cutoff to UI
This commit is contained in:
parent
3eb39d716c
commit
1fb5c046f4
6 changed files with 32 additions and 2 deletions
|
@ -1044,6 +1044,10 @@ MspHelper.prototype.process_data = function(dataHandler) {
|
|||
ADVANCED_TUNING.dMinAdvance = data.readU8();
|
||||
ADVANCED_TUNING.useIntegratedYaw = data.readU8();
|
||||
ADVANCED_TUNING.integratedYawRelax = data.readU8();
|
||||
|
||||
if(semver.gte(CONFIG.apiVersion, "1.42.0")) {
|
||||
ADVANCED_TUNING.itermRelaxCutoff = data.readU8();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -1798,6 +1802,10 @@ MspHelper.prototype.crunch = function(code) {
|
|||
.push8(ADVANCED_TUNING.dMinAdvance)
|
||||
.push8(ADVANCED_TUNING.useIntegratedYaw)
|
||||
.push8(ADVANCED_TUNING.integratedYawRelax);
|
||||
|
||||
if(semver.gte(CONFIG.apiVersion, "1.42.0")) {
|
||||
buffer.push8(ADVANCED_TUNING.itermRelaxCutoff);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue