Hi, I was wondering if anyone could tell me how to pass the address of a specific variable in a struct?
Example:
Doing the above I get the warning: “passing argument 1 of 'doSomething‘ from incompatible pointer type”Code:typedef struct { uint8_t A; uint8_t B; ExtAddr_t C; } stuff_t; doSomething(&stuff_t.A);
Any pointers would be greatly appreciated