1
0
Fork 0
mirror of https://github.com/betaflight/betaflight-configurator.git synced 2025-07-16 04:45:20 +03:00

Update Dshot Bidir autodefaults and dynamic values

Missing semicolon

Added MSP workaround

Code smells fix

added missing indent
This commit is contained in:
Asizon 2021-06-06 11:47:58 +02:00
parent 517393a289
commit 0096a03782
6 changed files with 29 additions and 35 deletions

View file

@ -1101,7 +1101,6 @@ MspHelper.prototype.process_data = function(dataHandler) {
if (semver.gte(FC.CONFIG.apiVersion, API_VERSION_1_44)) {
FC.FILTER_CONFIG.dyn_lpf_curve_expo = data.readU8();
FC.FILTER_CONFIG.dyn_notch_count = data.readU8();
FC.FILTER_CONFIG.dyn_notch_bandwidth_hz = data.readU16();
}
}
}
@ -2074,8 +2073,7 @@ MspHelper.prototype.crunch = function(code) {
}
if (semver.gte(FC.CONFIG.apiVersion, API_VERSION_1_44)) {
buffer.push8(FC.FILTER_CONFIG.dyn_lpf_curve_expo)
.push8(FC.FILTER_CONFIG.dyn_notch_count)
.push16(FC.FILTER_CONFIG.dyn_notch_bandwidth_hz);
.push8(FC.FILTER_CONFIG.dyn_notch_count);
}
}
break;