错误提示

.\Objects\Aqst-666-DEMO.axf: Error: L6200E: Symbol Usart1Len multiply defined (by usart1.o and main.o).
初出茅庐的小李第43篇博客之keil编译出错multiply defined (by usart1.o and main.o).
这不是重定义的问题,这是声明的时候给了初值,哎,草率了啊…,这个声明按道理说是应该放到.h文件的但是经过验证的是,我在这里多声明一次也无妨,毕竟变量可以多次声明.我把它定义在main.c
初出茅庐的小李第43篇博客之keil编译出错multiply defined (by usart1.o and main.o).

相关文章:

  • 2022-12-23
  • 2021-07-21
  • 2022-03-12
  • 2022-12-23
  • 2021-06-26
  • 2021-10-20
  • 2021-12-18
  • 2022-12-23
猜你喜欢
  • 2021-12-28
  • 2021-04-25
  • 2021-08-25
  • 2021-05-24
  • 2021-11-27
  • 2021-06-17
  • 2021-10-17
相关资源
相似解决方案