Browse Source

Merge pull request #1329 from uestczyh222/master

[Bsp][STM32f4xx-HAL]fix pin index
ZYH 7 years ago
parent
commit
8466febabb
1 changed files with 1 additions and 1 deletions
  1. 1 1
      bsp/stm32f4xx-HAL/drivers/drv_gpio.c

+ 1 - 1
bsp/stm32f4xx-HAL/drivers/drv_gpio.c

@@ -122,7 +122,7 @@ static const struct pin_index pins[] =
     __STM32_PIN(9, B, 6),
     __STM32_PIN_DEFAULT,
     __STM32_PIN_DEFAULT,
-    __STM32_PIN(13, C, 14),
+    __STM32_PIN(12, C, 14),
     __STM32_PIN(13, A, 13),
     __STM32_PIN(14, B, 3),
     __STM32_PIN(15, B, 7),