Skip to content

Commit

Permalink
add marker for center suppression
Browse files Browse the repository at this point in the history
  • Loading branch information
ctzsnooze committed Jan 23, 2020
1 parent cc3d0b4 commit f93cda0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/main/flight/interpolated_setpoint.c
Expand Up @@ -128,6 +128,7 @@ FAST_CODE_NOINLINE float interpolatedSpApply(int axis, bool newRcFrame, ffInterp
// force zero FF when sticks are centred for smoothness
setpointSpeedModified *= rawSetpointCentred;
setpointAccelerationModified *= rawSetpointCentred;
holdCount[axis] = 4;
}

setpointDeltaImpl[axis] = setpointSpeedModified * pidGetDT();
Expand Down

0 comments on commit f93cda0

Please sign in to comment.