mirror of
https://github.com/betaflight/betaflight-configurator.git
synced 2025-07-16 04:45:20 +03:00
Added Dynamic Lpf Dterm Curve Expo to UI
This commit is contained in:
parent
a52efd7ec8
commit
dcdc15c5e3
5 changed files with 42 additions and 0 deletions
|
@ -1083,6 +1083,9 @@ MspHelper.prototype.process_data = function(dataHandler) {
|
|||
if (semver.gte(CONFIG.apiVersion, API_VERSION_1_43)) {
|
||||
FILTER_CONFIG.dyn_notch_max_hz = data.readU16();
|
||||
}
|
||||
if (semver.gte(CONFIG.apiVersion, API_VERSION_1_44)) {
|
||||
FILTER_CONFIG.dyn_lpf_curve_expo = data.readU8();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -2017,6 +2020,9 @@ MspHelper.prototype.crunch = function(code) {
|
|||
if (semver.gte(CONFIG.apiVersion, API_VERSION_1_43)) {
|
||||
buffer.push16(FILTER_CONFIG.dyn_notch_max_hz);
|
||||
}
|
||||
if (semver.gte(CONFIG.apiVersion, API_VERSION_1_44)) {
|
||||
buffer.push8(FILTER_CONFIG.dyn_lpf_curve_expo);
|
||||
}
|
||||
}
|
||||
break;
|
||||
case MSPCodes.MSP_SET_PID_ADVANCED:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue