mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-23 00:05:33 +03:00
Change priorities for tasks
This commit is contained in:
parent
98a1de2b70
commit
717290872c
3 changed files with 12 additions and 11 deletions
|
@ -123,11 +123,7 @@ void setGyroSamplingSpeed(uint16_t looptime) {
|
|||
masterConfig.mag_hardware = 1;
|
||||
masterConfig.pid_process_denom = 2;
|
||||
} else if (looptime < 375) {
|
||||
#if defined(LUX_RACE) || defined(COLIBRI_RACE) || defined(MOTOLAB) || defined(ALIENFLIGHTF3)
|
||||
masterConfig.acc_hardware = 0;
|
||||
#else
|
||||
masterConfig.acc_hardware = 1;
|
||||
#endif
|
||||
masterConfig.baro_hardware = 1;
|
||||
masterConfig.mag_hardware = 1;
|
||||
masterConfig.pid_process_denom = 2;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue