From db081c517f9dce3781b8bf27ef68971251416da2 Mon Sep 17 00:00:00 2001 From: ZYH <lymz@foxmail.com> Date: Thu, 29 Mar 2018 11:44:20 +0800 Subject: [PATCH] [Bsp][STM32f4xx-HAL]fix pin index --- bsp/stm32f4xx-HAL/drivers/drv_gpio.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bsp/stm32f4xx-HAL/drivers/drv_gpio.c b/bsp/stm32f4xx-HAL/drivers/drv_gpio.c index a5158eead..ea3382ea0 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),