10660| 12
|
main.c(8): warning: #223-D: function "NVIC_Configuration" declared implicitly |
5金钱
最佳答案warning: NVIC_Configuration declared implicitly
这是由于没有声明 NVIC_Configuration()函数原型造成的。
例如在a.c中,
void main()
{
.....
NVIC_Configuration();
....
}
在b.c中
void NVIC_Configuration()
{
}
如果就只是这样的话,就会出现上面的warning的。
解决办法是在b.h中写 extern void NVIC_Configuration();然后在a.c中include "b.h"就ok了。
| ||
| ||
| ||
我是开源电子网?网站管理员,对网站有任何问题,请与我联系!QQ:389063473Email:389063473@qq.com
|
||
| ||
| ||
| ||
| ||
| ||
| ||
| ||
| ||
| ||
| ||
|手机版|OpenEdv-开源电子网
( 粤ICP备12000418号-1 )
GMT+8, 2025-7-15 17:56
Powered by OpenEdv-开源电子网
© 2001-2030 OpenEdv-开源电子网