1
0
Fork 0
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:
Miguel Angel Mulero Martinez 2019-03-05 12:30:42 +01:00
parent 873f05dcbd
commit eac9848552

View file

@ -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;
}
}
}