mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-13 11:29:58 +03:00
parent
dfea2c8cbf
commit
a37bd7c974
4 changed files with 0 additions and 13 deletions
|
@ -944,11 +944,7 @@ void FAST_CODE pidController(const pidProfile_t *pidProfile, timeUs_t currentTim
|
|||
|
||||
calculateSpaValues(pidProfile);
|
||||
|
||||
#ifdef USE_TPA_MODE
|
||||
const float tpaFactorKp = (pidProfile->tpa_mode == TPA_MODE_PD) ? pidRuntime.tpaFactor : 1.0f;
|
||||
#else
|
||||
const float tpaFactorKp = pidRuntime.tpaFactor;
|
||||
#endif
|
||||
|
||||
#ifdef USE_YAW_SPIN_RECOVERY
|
||||
const bool yawSpinActive = gyroYawSpinDetected();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue