We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
I have a simple struct.
typedef struct { void (*write)(void); char (*request)(OBD_device*); } OBD_carMake;
and a call to a function like so carMake->request(device);
It was working fine until I tried to add some SPI code. I tried reverting it but this function is still calling the reset proc.
I'm thinking some kind of memory corruption but not sure. What would cause this?
oh, never mind, carMake was null. need to remember to check for null...