1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-20 23:05:19 +03:00

Refactor BiQuad // Set filters to floats

This commit is contained in:
borisbstyle 2016-02-03 13:46:56 +01:00
parent 403812c45f
commit eebacc2542
10 changed files with 32 additions and 39 deletions

View file

@ -184,7 +184,7 @@ void filterRc(void){
/* Initialize cycletime filter */
if (!filterIsSet) {
BiQuadNewLpf(1, &filteredCycleTimeState, 0);
BiQuadNewLpf(0.5f, &filteredCycleTimeState, targetLooptime);
filterIsSet = true;
}