summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZYH <[email protected]>2018-03-29 11:45:12 +0800
committerGitHub <[email protected]>2018-03-29 11:45:12 +0800
commit8466febabb356118addb3999644c8bdbaae4f929 (patch)
treea3923d8e1e2b00c08e411fa57eaf48c744d412ea
parent15ffe88466c91bb7d6993297f9657f497afdd937 (diff)
parentdb081c517f9dce3781b8bf27ef68971251416da2 (diff)
Merge pull request #1329 from uestczyh222/master
[Bsp][STM32f4xx-HAL]fix pin index
-rw-r--r--bsp/stm32f4xx-HAL/drivers/drv_gpio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bsp/stm32f4xx-HAL/drivers/drv_gpio.c b/bsp/stm32f4xx-HAL/drivers/drv_gpio.c
index a5158eeade..ea3382ea09 100644
--- a/bsp/stm32f4xx-HAL/drivers/drv_gpio.c
+++ b/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),