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:
commit
cbbc80ee90
11 changed files with 59 additions and 42 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue