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:
parent
48e7c62506
commit
61d72b8738
9 changed files with 79 additions and 80 deletions
|
@ -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)) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue