mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-26 09:45:37 +03:00
added EXTI_StructInit and replaced tabs with 4 spaces
This commit is contained in:
parent
3fdbe68ee1
commit
4615f1a70d
1 changed files with 18 additions and 18 deletions
|
@ -214,7 +214,7 @@ bool bmp085Detect(const bmp085Config_t *config, baro_t *baro)
|
||||||
|
|
||||||
#ifdef BARO_EOC_GPIO
|
#ifdef BARO_EOC_GPIO
|
||||||
EXTI_InitTypeDef EXTI_InitStructure;
|
EXTI_InitTypeDef EXTI_InitStructure;
|
||||||
// Disable EXTI interrupt for barometer EOC
|
EXTI_StructInit(&EXTI_InitStructure);
|
||||||
EXTI_InitStructure.EXTI_Line = EXTI_Line14;
|
EXTI_InitStructure.EXTI_Line = EXTI_Line14;
|
||||||
EXTI_InitStructure.EXTI_LineCmd = DISABLE;
|
EXTI_InitStructure.EXTI_LineCmd = DISABLE;
|
||||||
EXTI_Init(&EXTI_InitStructure);
|
EXTI_Init(&EXTI_InitStructure);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue