1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-16 21:05:35 +03:00

More cleanup of MPU driver code. Support MPU INT on CC3D and Naze32

Rev6.

MPU6050 Correction From merge
This commit is contained in:
Dominic Clifton 2015-10-15 23:03:11 +01:00 committed by borisbstyle
parent 2c9d7450ac
commit 4da387e93d
20 changed files with 201 additions and 216 deletions

View file

@ -126,7 +126,7 @@ const extiConfig_t *selectMPUIntExtiConfig(void)
#endif
#if defined(CC3D)
static const extiConfig_t CC3DMPU6000Config = {
static const extiConfig_t cc3dMPUIntExtiConfig = {
.gpioAPB2Peripherals = RCC_APB2Periph_GPIOA,
.gpioPort = GPIOA,
.gpioPin = Pin_3,
@ -135,7 +135,7 @@ const extiConfig_t *selectMPUIntExtiConfig(void)
.exti_line = EXTI_Line3,
.exti_irqn = EXTI3_IRQn
};
return &CC3DMPU6000Config;
return &cc3dMPUIntExtiConfig;
#endif
#if defined(MOTOLAB) || defined(SPARKY)