mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-21 15:25:36 +03:00
Merge pull request #11269 from SteveCEvans/rx_timing
Ignore duration of calcActiveAdjustmentRanges() and optimize RX_TASK_DECAY_SHIFT
This commit is contained in:
commit
8d52a36150
3 changed files with 6 additions and 1 deletions
|
@ -115,7 +115,7 @@
|
|||
|
||||
// taskUpdateRxMain() has occasional peaks in execution time so normal moving average duration estimation doesn't work
|
||||
// Decay the estimated max task duration by 1/(1 << RX_TASK_DECAY_SHIFT) on every invocation
|
||||
#define RX_TASK_DECAY_SHIFT 7
|
||||
#define RX_TASK_DECAY_SHIFT 6
|
||||
// Add a margin to the task duration estimation
|
||||
#define RX_TASK_MARGIN 1
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue