[top]
一. 编译时错误
1. user\led.c(6): error: #144: a value of type "unsigned char" cannot be used to initialize an entity of type "GPIO_InitTypeDef" : xx类型不能初始化xx结构体类型
这个是由于初始化结构体是将{}写成();
[top]
1. user\led.c(6): error: #144: a value of type "unsigned char" cannot be used to initialize an entity of type "GPIO_InitTypeDef" : xx类型不能初始化xx结构体类型
这个是由于初始化结构体是将{}写成();