1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-23 16:25:31 +03:00

Merge pull request #1295 from mikeller/fix_gyro_notch_2_msp

Fix MSP setting of gyro notch 2 values.
This commit is contained in:
Martin Budden 2016-10-15 09:26:05 +01:00 committed by GitHub
commit 5ac94a94e7

View file

@ -1873,8 +1873,8 @@ static bool processInCommand(void)
currentProfile->pidProfile.dterm_notch_cutoff = read16();
}
if (currentPort->dataSize > 13) {
serialize16(masterConfig.gyro_soft_notch_hz_2);
serialize16(masterConfig.gyro_soft_notch_cutoff_2);
masterConfig.gyro_soft_notch_hz_2 = read16();
masterConfig.gyro_soft_notch_cutoff_2 = read16();
}
break;
case MSP_SET_PID_ADVANCED: