diff --git a/bsp/stm32f10x/drivers/gpio.c b/bsp/stm32f10x/drivers/gpio.c index f07c0a1c36e70c7e596bcb39fe6fe26dfd91cce0..8e3209dc3d3d1ebab403eda040177dcb6245f20a 100755 --- a/bsp/stm32f10x/drivers/gpio.c +++ b/bsp/stm32f10x/drivers/gpio.c @@ -10,7 +10,7 @@ * Change Logs: * Date Author Notes * 2015-03-24 Bright the first version - * 2016-05-23 Margguo@gmail.com Add 48 pins IC define + * 2016-05-23 Margguo@gmail.com Add 48 pins IC define */ #include @@ -20,7 +20,7 @@ #ifdef RT_USING_PIN -#define STM32F10X_PIN_NUMBERS 48 //[48, 64, 100, 144 ] +#define STM32F10X_PIN_NUMBERS 100 //[48, 64, 100, 144 ] #define __STM32_PIN(index, rcc, gpio, gpio_index) { 0, RCC_##rcc##Periph_GPIO##gpio, GPIO##gpio, GPIO_Pin_##gpio_index} #define __STM32_PIN_DEFAULT {-1, 0, 0, 0}