mirror of
https://github.com/betaflight/betaflight-configurator.git
synced 2025-07-17 21:35:33 +03:00
Fix 32khz MSP command
This commit is contained in:
parent
873f05dcbd
commit
eac9848552
1 changed files with 3 additions and 1 deletions
|
@ -966,7 +966,9 @@ MspHelper.prototype.process_data = function(dataHandler) {
|
|||
FILTER_CONFIG.gyro_lowpass2_type = data.readU8();
|
||||
FILTER_CONFIG.dterm_lowpass2_hz = data.readU16();
|
||||
if (semver.lt(CONFIG.apiVersion, "1.41.0")) {
|
||||
FILTER_CONFIG.gyro_32khz_hardware_lpf = data.readU8();
|
||||
FILTER_CONFIG.gyro_32khz_hardware_lpf = gyro_32khz_hardware_lpf;
|
||||
} else {
|
||||
FILTER_CONFIG.gyro_32khz_hardware_lpf = 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue