why would a function call Reset_Handler PROC

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?

More questions in this forum