I am having issues creating an event. Here is my code:
I keep getting a hard fault exception whenever _event_create() is called. It used to work earlier but it suddenly started throwing an error. I also noticed that calling _event_create from another source file works sometimes which is very strange. Could it be related to the stack size?