1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-15 20:35:33 +03:00

add marker for center suppression

This commit is contained in:
ctzsnooze 2020-01-21 05:19:31 +11:00
parent cc3d0b435c
commit f93cda06e8

View file

@ -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();