Merge pull request #910 from kc10kevin/master_6500gyroINTfix

MPU6500 INT Fix for F4
This commit is contained in:
borisbstyle 2016-08-08 13:38:27 +02:00 committed by GitHub
commit fb1591fe63
1 changed files with 3 additions and 0 deletions

View File

@ -111,6 +111,9 @@ void mpu6500GyroInit(uint8_t lpf)
#else
mpuConfiguration.write(MPU_RA_INT_PIN_CFG, 0 << 7 | 0 << 6 | 0 << 5 | 1 << 4 | 0 << 3 | 0 << 2 | 0 << 1 | 0 << 0); // INT_ANYRD_2CLEAR, BYPASS_EN
#endif
delay(15);
#ifdef USE_MPU_DATA_READY_SIGNAL
mpuConfiguration.write(MPU_RA_INT_ENABLE, 0x01); // RAW_RDY_EN interrupt enable
#endif