mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-13 11:29:58 +03:00
trailing whitespace removal (#14026)
trailing space removal Co-authored-by: Petr Ledvina <ledvinap@gmail.com>
This commit is contained in:
parent
0de6278433
commit
493b9bf819
78 changed files with 371 additions and 371 deletions
|
@ -389,7 +389,7 @@ void pidUpdateTpaFactor(float throttle)
|
|||
|
||||
DEBUG_SET(DEBUG_TPA, 0, lrintf(tpaFactor * 1000));
|
||||
pidRuntime.tpaFactor = tpaFactor;
|
||||
|
||||
|
||||
#ifdef USE_WING
|
||||
switch (currentPidProfile->yaw_type) {
|
||||
case YAW_TYPE_DIFF_THRUST:
|
||||
|
@ -499,7 +499,7 @@ STATIC_UNIT_TESTED FAST_CODE_NOINLINE float pidLevel(int axis, const pidProfile_
|
|||
|
||||
#ifdef USE_WING
|
||||
if (axis == FD_PITCH) {
|
||||
angleTarget += (float)pidProfile->angle_pitch_offset / 10.0f;
|
||||
angleTarget += (float)pidProfile->angle_pitch_offset / 10.0f;
|
||||
}
|
||||
#endif // USE_WING
|
||||
|
||||
|
@ -997,7 +997,7 @@ NOINLINE static void applySpa(int axis, const pidProfile_t *pidProfile)
|
|||
static float getTpaFactor(const pidProfile_t *pidProfile, int axis, term_e term)
|
||||
{
|
||||
float tpaFactor = pidRuntime.tpaFactor;
|
||||
|
||||
|
||||
#ifdef USE_WING
|
||||
if (axis == FD_YAW) {
|
||||
tpaFactor = pidRuntime.tpaFactorYaw;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue