summaryrefslogtreecommitdiff
path: root/bsp
diff options
context:
space:
mode:
authormargguo <[email protected]>2016-05-23 22:00:21 +0800
committermargguo <[email protected]>2016-05-23 22:00:21 +0800
commit4bbbfab29ca29e3f74c21f2f840c7e3de621ff2b (patch)
tree1e3b59739f21ec5d0998bae98f01d8cd3e8558de /bsp
parent3defb749cb61f8b73ee96d37edb1a75ddb977d5d (diff)
add 48 pins IC define in BSP/stm32f10x
Diffstat (limited to 'bsp')
-rwxr-xr-xbsp/stm32f10x/drivers/gpio.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/bsp/stm32f10x/drivers/gpio.c b/bsp/stm32f10x/drivers/gpio.c
index f07c0a1c36..8e3209dc3d 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 [email protected] Add 48 pins IC define
+ * 2016-05-23 [email protected] Add 48 pins IC define
*/
#include <rthw.h>
@@ -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}