Add MPU INT support to mpu6500 driver.
This commit is contained in:
parent
90398ba3a3
commit
2c9d7450ac
|
@ -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.
|
||||
|
||||
|
|
Loading…
Reference in New Issue