This one is an error again:
(482) symbol "_Alm1Mins" is defined more than once in "I2C.obj"
--------------------------------------------------------------------------------------
Like the heading says another learning problem, so please bare with me.
This is the first time I have written large amounts of code in C, so I am sure a lot of the problems I get are down to that.
This one is an error again:
(482) symbol "_Alm1Mins" is defined more than once in "I2C.obj"
A whole list of these with different variable names
I have created a single header file for all the hardware side addressing of I2C devices, however since the program consists of a large number of seperate source and header files, I place the reference to each header used in the appropriate C file.
ie #include "initCPU.h"
The problem I think is that because I now have multiple references to the header file in different source files the compiler gets messed up.
How do I avoid this.
这个错误怎么处理好呢? |