Skip to content

Commit

Permalink
add config define for dynamic notch
Browse files Browse the repository at this point in the history
  • Loading branch information
bkleiner committed Aug 11, 2024
1 parent cf73729 commit 50ce7f9
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/config/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,8 @@
#define GYRO_PASS2_TYPE FILTER_NONE
#define GYRO_PASS2_FREQ 0

// #define GYRO_DYNAMIC_NOTCH

// Dynamic D term filter
// a pt1 filter that moves up in cut hz with a parabolic relationship to applied throttle. The theory here is
// that propwash is most likely to occur as throttle is applied in dirty air - and propwash is most significantly
Expand Down
4 changes: 4 additions & 0 deletions src/core/profile.c
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,11 @@ const profile_t default_profile = {
#ifdef DTERM_DYNAMIC_FREQ_MAX
.dterm_dynamic_max = DTERM_DYNAMIC_FREQ_MAX,
#endif
#ifdef GYRO_DYNAMIC_NOTCH
.gyro_dynamic_notch_enable = 1,
#else
.gyro_dynamic_notch_enable = 0,
#endif
},

.rate = {
Expand Down

0 comments on commit 50ce7f9

Please sign in to comment.