Merge pull request #1563 from uestczyh222/master

[Bsp][STM32F4xx-HAL]优化GPIO驱动减小Flash占用1128->292
This commit is contained in:
Bernard Xiong authored and GitHub committed 2018-06-24 22:50:35 +08:00
commit 6ecdfca2cd
2 files changed
+180 -163

No files matched your search

File diff suppressed because it is too large. Load diff
+3 -10
View File
@@ -11,14 +11,7 @@
* Date Author Notes
* 2015-01-05 Bernard the first version
*/
#ifndef GPIO_H__
#define GPIO_H__
struct stm32_hw_pin_userdata
{
int pin;
uint32_t mode;
};
#define PIN_USERDATA_END {-1,0}
extern struct stm32_hw_pin_userdata stm32_pins[];
int rt_hw_pin_init(void);
#ifndef __DRV_GPIO_H__
#define __DRV_GPIO_H__
extern int rt_hw_pin_init(void);
#endif