1
0
Fork 0
mirror of https://github.com/betaflight/betaflight-configurator.git synced 2025-07-17 21:35:33 +03:00

lfp filters work

This commit is contained in:
nathan 2016-06-24 02:26:54 -07:00
parent 0274e27b7c
commit 594c74de0a
4 changed files with 38 additions and 9 deletions

View file

@ -1423,9 +1423,9 @@ MSP.crunch = function (code) {
buffer.push(highByte(PID_ADVANCED_CONFIG.motor_pwm_rate));
break;
case MSP_codes.MSP_SET_FILTER_CONFIG:
buffer.push(FILTER_CONFIG.gyro_soft_lpf_hz);
buffer.push(FILTER_CONFIG.dterm_lpf_hz);
buffer.push(FILTER_CONFIG.yaw_lpf_hz);
buffer.push8(FILTER_CONFIG.gyro_soft_lpf_hz)
.push16(FILTER_CONFIG.dterm_lpf_hz)
.push16(FILTER_CONFIG.yaw_lpf_hz);
break;
case MSP_codes.MSP_SET_ADVANCED_TUNING:
buffer.push16(ADVANCED_TUNING.rollPitchItermIgnoreRate)