Browse Source

[update][bsp][stm32] drv_gpio.c

tangweikang 6 years ago
parent
commit
eef4afe9fb
1 changed files with 11 additions and 11 deletions
  1. 11 11
      bsp/stm32/libraries/HAL_Drivers/drv_gpio.c

+ 11 - 11
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[] =