1
0
Fork 0
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:
Michael Keller 2018-09-20 20:51:21 +12:00 committed by GitHub
commit b43c6ca73b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 64 additions and 19 deletions

View file

@ -1330,6 +1330,9 @@ static void cliAdjustmentRange(char *cmdline)
ar->adjustmentScale = val;
validArgumentCount++;
}
activeAdjustmentRangeReset();
cliDumpPrintLinef(0, false, format,
i,
ar->adjustmentIndex,