打印

关于错误提示声明不相容和未知

[复制链接]
267|0
手机看帖
扫描二维码
随时随地手机跟帖
跳转到指定楼层
楼主
kaloulin|  楼主 | 2020-4-23 20:56 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
IO, gp, GPIO, pi, TI
..\User\main.c(110): error:  #147: declaration is incompatible with "void GPIO_ALLConfiguration(void)" (declared at line 6 of "..\User\Gpio\bsp_gpio.h")..\User\main.c(110): error:  #260-D: explicit type is missing ("int" assumed)
两个错误都出现在主函数的函数调用处
main函数中有调用
   GPIO_ALLConfiguration(); //GPIO配置

这是GPIO.H文件中的声明
void GPIO_ALLConfiguration(void);

  这个函数配置就是GPIO的配置,没有涉及其他,

使用特权

评论回复

相关帖子

发新帖 我要提问
您需要登录后才可以回帖 登录 | 注册

本版积分规则

439

主题

448

帖子

0

粉丝