创建工程时报错,不知道怎么改

[复制链接]
368|0
 楼主| 爱德华复制手 发表于 2018-7-29 07:12 | 显示全部楼层 |阅读模式
Build target 'Template'
compiling usart.c...
..\SYSTEM\usart\usart.c(47): error:  #260-D: explicit type is missing ("int" assumed)
  _sys_exit(int x)
..\SYSTEM\usart\usart.c: 0 warnings, 1 error
"..\OBJ\Template.axf" - 1 Error(s), 0 Warning(s).
Target not created.
Build Time Elapsed:  00:00:04




_sys_exit(int x)
{
        x = x;
}
您需要登录后才可以回帖 登录 | 注册

本版积分规则

376

主题

377

帖子

0

粉丝
快速回复 在线客服 返回列表 返回顶部