1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-19 14:25:20 +03:00

Merge pull request #11779 from haslinghuis/update-pidprofile

Move TPA to PID profile
This commit is contained in:
haslinghuis 2022-10-13 21:09:49 +02:00 committed by GitHub
commit cbbc80ee90
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
11 changed files with 59 additions and 42 deletions

View file

@ -267,9 +267,7 @@ protected:
.thrMid8 = 0,
.thrExpo8 = 0,
.rates = {0, 0, 0},
.tpa_rate = 0,
.rcExpo[FD_YAW] = 0,
.tpa_breakpoint = 0
};
channelRange_t fullRange = {
@ -295,8 +293,6 @@ protected:
controlRateConfig.rates[0] = 0;
controlRateConfig.rates[1] = 0;
controlRateConfig.rates[2] = 0;
controlRateConfig.tpa_rate = 0;
controlRateConfig.tpa_breakpoint = 0;
PG_RESET(adjustmentRanges);
adjustmentRangesIndex = 0;
@ -373,9 +369,7 @@ TEST_F(RcControlsAdjustmentsTest, processRcAdjustmentsWithRcRateFunctionSwitchUp
.thrMid8 = 0,
.thrExpo8 = 0,
.rates = {0,0,0},
.tpa_rate = 0,
.rcExpo[FD_YAW] = 0,
.tpa_breakpoint = 0
};
// and