mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-20 23:05:19 +03:00
Reduce timing margins
This commit is contained in:
parent
29d221502e
commit
d94a78cb3e
1 changed files with 2 additions and 2 deletions
|
@ -31,12 +31,12 @@
|
||||||
|
|
||||||
#define LOAD_PERCENTAGE_ONE 100
|
#define LOAD_PERCENTAGE_ONE 100
|
||||||
|
|
||||||
#define SCHED_START_LOOP_MIN_US 4 // Wait at start of scheduler loop if gyroTask is nearly due
|
#define SCHED_START_LOOP_MIN_US 1 // Wait at start of scheduler loop if gyroTask is nearly due
|
||||||
#define SCHED_START_LOOP_MAX_US 12
|
#define SCHED_START_LOOP_MAX_US 12
|
||||||
#define SCHED_START_LOOP_DOWN_STEP 50 // Fraction of a us to reduce start loop wait
|
#define SCHED_START_LOOP_DOWN_STEP 50 // Fraction of a us to reduce start loop wait
|
||||||
#define SCHED_START_LOOP_UP_STEP 1 // Fraction of a us to increase start loop wait
|
#define SCHED_START_LOOP_UP_STEP 1 // Fraction of a us to increase start loop wait
|
||||||
|
|
||||||
#define TASK_GUARD_MARGIN_MIN_US 4 // Add an amount to the estimate of a task duration
|
#define TASK_GUARD_MARGIN_MIN_US 1 // Add an amount to the estimate of a task duration
|
||||||
#define TASK_GUARD_MARGIN_MAX_US 6
|
#define TASK_GUARD_MARGIN_MAX_US 6
|
||||||
#define TASK_GUARD_MARGIN_DOWN_STEP 50 // Fraction of a us to reduce task guard margin
|
#define TASK_GUARD_MARGIN_DOWN_STEP 50 // Fraction of a us to reduce task guard margin
|
||||||
#define TASK_GUARD_MARGIN_UP_STEP 1 // Fraction of a us to increase task guard margin
|
#define TASK_GUARD_MARGIN_UP_STEP 1 // Fraction of a us to increase task guard margin
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue