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

added EXTI_StructInit and replaced tabs with 4 spaces

This commit is contained in:
Steveis 2015-05-05 12:17:15 +01:00
parent 3fdbe68ee1
commit 4615f1a70d

View file

@ -214,7 +214,7 @@ bool bmp085Detect(const bmp085Config_t *config, baro_t *baro)
#ifdef BARO_EOC_GPIO
EXTI_InitTypeDef EXTI_InitStructure;
// Disable EXTI interrupt for barometer EOC
EXTI_StructInit(&EXTI_InitStructure);
EXTI_InitStructure.EXTI_Line = EXTI_Line14;
EXTI_InitStructure.EXTI_LineCmd = DISABLE;
EXTI_Init(&EXTI_InitStructure);