From 09b0e48439463e20d610b2e269f81a7b149930ee Mon Sep 17 00:00:00 2001 From: margguo Date: Mon, 23 May 2016 22:15:14 +0800 Subject: [PATCH] add 48 pins IC define in BSP/stm32f10x --- bsp/stm32f10x/drivers/gpio.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/bsp/stm32f10x/drivers/gpio.c b/bsp/stm32f10x/drivers/gpio.c index 8e3209dc3d..7bcff4602f 100755 --- a/bsp/stm32f10x/drivers/gpio.c +++ b/bsp/stm32f10x/drivers/gpio.c @@ -42,15 +42,15 @@ static const struct pin_index pins[] = __STM32_PIN(2, APB2, C, 13), __STM32_PIN(3, APB2, C, 14), __STM32_PIN(4, APB2, C, 15), - __STM32_PIN(3, APB2, C, 14), - __STM32_PIN(4, APB2, C, 15), + __STM32_PIN_DEFAULT, + __STM32_PIN_DEFAULT, __STM32_PIN_DEFAULT, __STM32_PIN_DEFAULT, __STM32_PIN_DEFAULT, __STM32_PIN(10, APB2, A, 0), __STM32_PIN(11, APB2, A, 1), - __STM32_PIN(11, APB2, A, 2), - __STM32_PIN(11, APB2, A, 3), + __STM32_PIN(12, APB2, A, 2), + __STM32_PIN(13, APB2, A, 3), __STM32_PIN(14, APB2, A, 4), __STM32_PIN(15, APB2, A, 5), __STM32_PIN(16, APB2, A, 6),