summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortangweikang <[email protected]>2019-06-19 08:46:09 +0800
committertangweikang <[email protected]>2019-06-19 08:46:09 +0800
commiteef4afe9fbb2f2d100c111d543732c531ec6f6b2 (patch)
tree7be9d33b3dafcb94daef59e485ce3bccd27987af
parentde4336420ae26fd7c5f84aed65a6aec32fd76638 (diff)
[update][bsp][stm32] drv_gpio.c
-rw-r--r--bsp/stm32/libraries/HAL_Drivers/drv_gpio.c22
1 files changed, 11 insertions, 11 deletions
diff --git a/bsp/stm32/libraries/HAL_Drivers/drv_gpio.c b/bsp/stm32/libraries/HAL_Drivers/drv_gpio.c
index 1931aed5bb..347d86efd8 100644
--- a/bsp/stm32/libraries/HAL_Drivers/drv_gpio.c
+++ b/bsp/stm32/libraries/HAL_Drivers/drv_gpio.c
@@ -203,17 +203,17 @@ static const struct pin_index pins[] =
__STM32_PIN(173, K, 13),
__STM32_PIN(174, K, 14),
__STM32_PIN(175, K, 15),
-#endif
-#endif
-#endif
-#endif
-#endif
-#endif
-#endif
-#endif
-#endif
-#endif
-#endif
+#endif /* defined(GPIOK) */
+#endif /* defined(GPIOJ) */
+#endif /* defined(GPIOI) */
+#endif /* defined(GPIOH) */
+#endif /* defined(GPIOG) */
+#endif /* defined(GPIOF) */
+#endif /* defined(GPIOE) */
+#endif /* defined(GPIOD) */
+#endif /* defined(GPIOC) */
+#endif /* defined(GPIOB) */
+#endif /* defined(GPIOA) */
};
static const struct pin_irq_map pin_irq_map[] =