hi
i use the IAR 8.10.3 to develop the program,I have some trouble with it, when i compile a C function,The software shows me a message as follow:
Error[Pe256]: invalid redeclaration of type name "magXYZ_AxisValue_t" (declared at line 19) D:\work\Park_Zigbee\parkingsystem_node\Park_EndDeice\Projects\zstack\Samples\EndDevice\Source\bsp\hmc_mag.h 19
I has defined the struct magXYZ_AxisValue_t as follow
typedef struct
{
INT16S mag_X_AxisVal;
INT16S mag_Y_AxisVal;
INT16S mag_Z_AxisVal;
}magXYZ_AxisValue_t;
and it only define in one file,what is wrong about this message!
thank you !