1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-24 00:35:39 +03:00

Fix Configurator Pid Controller Reset // Fix luxfloat no filter bug // Defaults for Version 2.9.0

This commit is contained in:
borisbstyle 2016-06-26 00:29:32 +02:00
parent f70f2960a8
commit 3d9b180b33
5 changed files with 10 additions and 45 deletions

View file

@ -166,6 +166,8 @@ void gyroUpdate(void)
gyroADCf[axis] = applyBiQuadFilter((float) gyroADC[axis], &gyroFilterState[axis]);
gyroADC[axis] = lrintf(gyroADCf[axis]);
}
} else {
gyroADCf[axis] = gyroADC[axis]; // Otherwise float pid controller will not have gyro input when filter disabled
}
}
}