I am facing a very tricky scenario. I am using s21x i have found a code as follows
the definition as in file1.c
unsigned char value;
and the declaration as follows
extern unsigned char value;
clearly both do not match and it is wrong and i am facing an issue where the value modified in file2.c as
value = some value; is behaving randomly that is it goes to some unexpected value. specifically value is behaving randomly. Since the issue is difficult to reproduce can i assume that above mismatch can be a problem. How the code will behave in above cases. Please help.