Browse Source

add 48 pins IC define in BSP/stm32f10x

margguo 9 years ago
parent
commit
4bbbfab29c
1 changed files with 2 additions and 2 deletions
  1. 2 2
      bsp/stm32f10x/drivers/gpio.c

+ 2 - 2
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 <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}