Skip to content

Commit

Permalink
Fixed spaces
Browse files Browse the repository at this point in the history
  • Loading branch information
pjpei committed Oct 9, 2024
1 parent 30c466e commit 2b821a8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/main/flight/pid.c
Original file line number Diff line number Diff line change
Expand Up @@ -282,9 +282,9 @@ void pidInitFilters(const pidProfile_t *pidProfile) {
ptnFilterInit(&dtermLowpass[axis].ptnFilter, FILTER_PT2, pidProfile->dFilter[axis].dLpf, dT);
break;
case FILTER_LULU:
dtermLowpassApplyFn = (filterApplyFnPtr)luluFilterApply;
luluFilterInit(&dtermLowpass[axis].luluFilter, pidProfile->lulu_n_val);
break;
dtermLowpassApplyFn = (filterApplyFnPtr)luluFilterApply;
luluFilterInit(&dtermLowpass[axis].luluFilter, pidProfile->lulu_n_val);
break;
default: // case FILTER_PT1:
dtermLowpassApplyFn = (filterApplyFnPtr)pt1FilterApply;
pt1FilterInit(&dtermLowpass[axis].pt1Filter, pt1FilterGain(pidProfile->dFilter[axis].dLpf, dT));
Expand Down

0 comments on commit 2b821a8

Please sign in to comment.