其他分享
首页 > 其他分享> > 11

11

作者:互联网

[C语言]error: function declaration isn‘t a prototype [-Werror=strict-prototypes]

  


../../applications/BearPi/BearPi-HM_Nano/sample/Farm_test/src/Data.c:46:6: error: function declaration isn't a prototype [-Werror=strict-prototypes]
void Init_BH1750()

当参数为空 需要定义为void Init_BH1750(void)

 

两种情况同时控制一个设备怎么编写代码

标签:11,BH1750,..,void,strict,Init,prototype
来源: https://www.cnblogs.com/hhy-2216/p/16299822.html