1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-20 23:05:19 +03:00

Update autoconfig

This commit is contained in:
borisbstyle 2016-02-29 00:58:59 +01:00
parent 37ad29f68a
commit c050351cb4

View file

@ -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;