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:
parent
403812c45f
commit
eebacc2542
10 changed files with 32 additions and 39 deletions
|
@ -184,7 +184,7 @@ void filterRc(void){
|
|||
|
||||
/* Initialize cycletime filter */
|
||||
if (!filterIsSet) {
|
||||
BiQuadNewLpf(1, &filteredCycleTimeState, 0);
|
||||
BiQuadNewLpf(0.5f, &filteredCycleTimeState, targetLooptime);
|
||||
filterIsSet = true;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue