| 一个程序里存在两个C文件.如:MASTER.C和EEPROM.C 在MASTER.C中有如下函数调用:
 #define Sector1_ADDR 0x1000
 uchar E2prom[5];
 EEPROM_Byte_Read(5,Sector1_ADDR,E2prom);
 
 在EEPROM.C
 void EEPROM_Byte_Read(uint Len,uint Address,uchar *EEp)
 以上处理,但是无法成功.
 什么都不更改,只是将void EEPROM_Byte_Read(uint Len,uint Address,uchar *EEp)移到MASTER.C就成功.不知道是怎么回事,请各位大哥指点指点,不胜感激.
 |