how to run some codes before tasks?

davedoors wrote on Monday, July 08, 2013:

The callback is called only if the stack has overflowed, so don’t let the function exit. If the stack is corrupt there is nothing sensible to return to. Add a null loop for(;;); to the end of your function and it should be ok.