..\My_project\led.h(5): warning: #1295-D: Deprecated declaration LED_Init - give arg types**
…\My_project\led.h(5): warning: #1295-D: Deprecated declaration LED_Init - give arg types这个其实是在头文件写函数时候 函数括号不写导致的void LED_Init();将括号加入void 解决警告void LED_Init(void);没有一次警告是不是看起来心情舒畅了很多了...
复制链接