1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-13 11:29:58 +03:00

Fix redundant debug (#13711)

This commit is contained in:
Mark Haslinghuis 2024-06-24 23:30:34 +02:00 committed by GitHub
parent 648e68d315
commit 352350f8d0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -300,10 +300,10 @@ void pidUpdateTpaFactor(float throttle)
#ifdef USE_WING
if (isFixedWing()) {
tpaFactor = pt2FilterApply(&pidRuntime.tpaLpf, tpaFactor);
DEBUG_SET(DEBUG_TPA, 1, lrintf(tpaFactor * 1000));
}
#endif
DEBUG_SET(DEBUG_TPA, 1, lrintf(tpaFactor * 1000));
pidRuntime.tpaFactor = tpaFactor;
}