I have a header file containing:
I have a function file containing:Code:struct confTimer{ char name[3]; char direction[8]; uint countValue; }; uint run_timer(struct confTimer cT);
I have main (separate file) containing:Code:uint run_timer(struct confTimer cT){ if (!strcmp(cT.name, "B0")) {
I am never stepping into the function at the conditional if...What am I missing?Code:struct confTimer radioT; radioT.name[3] = "B0"; radioT.direction[8] = "up_down"; radioT.countValue = 4455; run_timer(radioT);
Thanks