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

Add Lux target

This commit is contained in:
cmenard 2016-01-26 18:19:44 -05:00 committed by borisbstyle
parent e973bb149f
commit d174314692
14 changed files with 672 additions and 19 deletions

View file

@ -142,8 +142,8 @@ const extiConfig_t *selectMPUIntExtiConfig(void)
return &cc3dMPUIntExtiConfig;
#endif
#if defined(COLIBRI_RACE)
static const extiConfig_t colibriRaceMPUIntExtiConfig = {
#if defined(COLIBRI_RACE) || defined(LUX_RACE)
static const extiConfig_t RaceMPUIntExtiConfig = {
.gpioAHBPeripherals = RCC_AHBPeriph_GPIOA,
.gpioPort = GPIOA,
.gpioPin = Pin_5,
@ -152,7 +152,7 @@ const extiConfig_t *selectMPUIntExtiConfig(void)
.exti_line = EXTI_Line5,
.exti_irqn = EXTI9_5_IRQn
};
return &colibriRaceMPUIntExtiConfig;
return &RaceMPUIntExtiConfig;
#endif
#if defined(MOTOLAB) || defined(SPARKY)