I have an application that works when compiled with ver3.191. When compiled with ver3.241 it runs for a short time (a few minutes) and then stops working. The problem appears to be the interrupts are ...
If you try the following code it causes the problem. It appears to be related to using interupts. Remove the interrupt and it compiles properly using PCH ver 3.241