mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-16 12:55:19 +03:00
Merge remote-tracking branch 'motolab/motolab-integration' into betaflight
This commit is contained in:
commit
a0ac565ff5
9 changed files with 825 additions and 6 deletions
|
@ -122,6 +122,19 @@ const mpu6050Config_t *selectMPU6050Config(void)
|
|||
return &spRacingF3MPU6050Config;
|
||||
#endif
|
||||
|
||||
#ifdef MOTOLAB
|
||||
static const mpu6050Config_t MotolabF3MPU6050Config = {
|
||||
.gpioAHBPeripherals = RCC_AHBPeriph_GPIOA,
|
||||
.gpioPort = GPIOA,
|
||||
.gpioPin = Pin_15,
|
||||
.exti_port_source = EXTI_PortSourceGPIOA,
|
||||
.exti_pin_source = EXTI_PinSource15,
|
||||
.exti_line = EXTI_Line15,
|
||||
.exti_irqn = EXTI15_10_IRQn
|
||||
};
|
||||
return &MotolabF3MPU6050Config;
|
||||
#endif
|
||||
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue