Add MPU INT support to mpu6500 driver.

This commit is contained in:
Dominic Clifton 2015-10-15 21:07:54 +01:00 committed by borisbstyle
parent 90398ba3a3
commit 2c9d7450ac
1 changed files with 4 additions and 0 deletions

View File

@ -66,11 +66,15 @@ bool mpu6500GyroDetect(gyro_t *gyro)
void mpu6500AccInit(void)
{
mpuIntExtiInit();
acc_1G = 512 * 8;
}
void mpu6500GyroInit(uint16_t lpf)
{
mpuIntExtiInit();
#ifdef NAZE
// FIXME target specific code in driver code.