mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-20 23:05:19 +03:00
Update autoconfig
This commit is contained in:
parent
37ad29f68a
commit
c050351cb4
1 changed files with 4 additions and 0 deletions
|
@ -123,7 +123,11 @@ void setGyroSamplingSpeed(uint16_t looptime) {
|
||||||
masterConfig.mag_hardware = 1;
|
masterConfig.mag_hardware = 1;
|
||||||
masterConfig.pid_process_denom = 2;
|
masterConfig.pid_process_denom = 2;
|
||||||
} else if (looptime < 375) {
|
} else if (looptime < 375) {
|
||||||
|
#if defined(LUX_RACE) || defined(COLIBRI_RACE) || defined(MOTOLAB) || defined(ALIENFLIGHTF3)
|
||||||
masterConfig.acc_hardware = 0;
|
masterConfig.acc_hardware = 0;
|
||||||
|
#else
|
||||||
|
masterConfig.acc_hardware = 1;
|
||||||
|
#endif
|
||||||
masterConfig.baro_hardware = 1;
|
masterConfig.baro_hardware = 1;
|
||||||
masterConfig.mag_hardware = 1;
|
masterConfig.mag_hardware = 1;
|
||||||
masterConfig.pid_process_denom = 2;
|
masterConfig.pid_process_denom = 2;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue