1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-23 16:25:31 +03:00

Cleanup ONESHOT125 feature // Default denom

This commit is contained in:
borisbstyle 2016-08-04 11:46:55 +02:00
parent 45f2ce04d5
commit 7d119ae669
14 changed files with 97 additions and 23 deletions

View file

@ -474,6 +474,9 @@ static void resetConf(void)
#ifdef STM32F10X
masterConfig.gyro_sync_denom = 8;
masterConfig.pid_process_denom = 1;
#elif defined(USE_GYRO_SPI_MPU6000) || defined(USE_GYRO_SPI_MPU6500)
masterConfig.gyro_sync_denom = 8;
masterConfig.pid_process_denom = 4;
#else
masterConfig.gyro_sync_denom = 4;
masterConfig.pid_process_denom = 2;