mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-14 11:59:58 +03:00
Merge pull request #6796 from etracer65/adjustment_range_optimize
Optimize in-flight adjustments to only process configured ranges
This commit is contained in:
commit
b43c6ca73b
6 changed files with 64 additions and 19 deletions
|
@ -1330,6 +1330,9 @@ static void cliAdjustmentRange(char *cmdline)
|
|||
ar->adjustmentScale = val;
|
||||
validArgumentCount++;
|
||||
}
|
||||
|
||||
activeAdjustmentRangeReset();
|
||||
|
||||
cliDumpPrintLinef(0, false, format,
|
||||
i,
|
||||
ar->adjustmentIndex,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue