1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-26 01:35:41 +03:00

remove unused gyro isr setting

This commit is contained in:
Steffen Windoffer 2017-08-10 11:15:52 +02:00
parent ac2026be6f
commit 25e9270395
5 changed files with 0 additions and 15 deletions

View file

@ -453,10 +453,6 @@ void validateAndFixGyroConfig(void)
#endif
}
#if !defined(GYRO_USES_SPI) || !defined(USE_MPU_DATA_READY_SIGNAL)
gyroConfigMutable()->gyro_isr_update = false;
#endif
// check for looptime restrictions based on motor protocol. Motor times have safety margin
const float pidLooptime = samplingTime * gyroConfig()->gyro_sync_denom * pidConfig()->pid_process_denom;
float motorUpdateRestriction;