1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-25 17:25:20 +03:00

Renamed MPU function pointers, align with iNav

This commit is contained in:
Michael Jakob 2017-01-29 18:07:18 +01:00 committed by Martin Budden
parent 48e7c62506
commit 61d72b8738
9 changed files with 79 additions and 80 deletions

View file

@ -238,7 +238,7 @@ bool gyroInit(const gyroConfig_t *gyroConfigToUse)
#if defined(USE_GYRO_MPU6050) || defined(USE_GYRO_MPU3050) || defined(USE_GYRO_MPU6500) || defined(USE_GYRO_SPI_MPU6500) || defined(USE_GYRO_SPI_MPU6000) || defined(USE_ACC_MPU6050) || defined(USE_GYRO_SPI_MPU9250) || defined(USE_GYRO_SPI_ICM20689)
gyro.dev.mpuIntExtiConfig = selectMPUIntExtiConfig();
mpuDetect(&gyro.dev);
mpuReset = gyro.dev.mpuConfiguration.reset;
mpuResetFn = gyro.dev.mpuConfiguration.resetFn;
#endif
if (!gyroDetect(&gyro.dev)) {