Hey guys,
I've got a huge problem with passing arguments to an invoked function. It just doesn't work, at least sometimes... I can't figure out why this could possibly happen, but it does. My application is very small, just a few KB, thats why I dont assume there is a stack overflow or something like that. Any other guesses or maybe even solutions?
Thanks
Also, could the timer ISR be getting reentered while the UART transmit function is executing?
"Also, could the timer ISR be getting reentered while the UART transmit function is executing?"
Never mind that. I see that you're disabling the timer interrupt while transmitting.