1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-24 16:55:36 +03:00

Add MPU INT support to mpu6500 driver.

This commit is contained in:
Dominic Clifton 2015-10-15 21:07:54 +01:00
parent 0150abf1bc
commit 026afb22c7

View file

@ -64,11 +64,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.