mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-19 22:35:23 +03:00
Preparation for using instruction cache on F7
This commit is contained in:
parent
a0f6d10b72
commit
12640972a9
13 changed files with 59 additions and 31 deletions
|
@ -405,7 +405,7 @@ static float accelerationLimit(int axis, float currentPidSetpoint)
|
|||
|
||||
// Betaflight pid controller, which will be maintained in the future with additional features specialised for current (mini) multirotor usage.
|
||||
// Based on 2DOF reference design (matlab)
|
||||
void pidController(const pidProfile_t *pidProfile, const rollAndPitchTrims_t *angleTrim, timeUs_t currentTimeUs)
|
||||
FAST_CODE void pidController(const pidProfile_t *pidProfile, const rollAndPitchTrims_t *angleTrim, timeUs_t currentTimeUs)
|
||||
{
|
||||
static float previousRateError[2];
|
||||
const float tpaFactor = getThrottlePIDAttenuation();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue