-
- #include <avr/io.h>
-
-
- #include "Port_Define.h"
- #include "EEPROM_Define.h"
-
- #include "Include.h"
- extern void Uart_Inital();
-
- void System_Inital() // 初始化
- {
- Uart_Inital();
在GCC里面这段代码编译出错,undefined reference to Uart_Inital。可是 Uart_Inital函数我在另一个文件已经定义了,为什么会出现这种错误呢?去掉关键字extern还是会出同样的错误
|