mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-24 08:45:36 +03:00
Add MPU INT support to mpu6500 driver.
This commit is contained in:
parent
90398ba3a3
commit
2c9d7450ac
1 changed files with 4 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue