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:
parent
ac2026be6f
commit
25e9270395
5 changed files with 0 additions and 15 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue