Probably problem withxHigherPriorityTaskWoken

Quick question:
im using that variable “xHigherPriorityTaskWoken’ in interrupt routine, you know what i am talking about.
Can i declare that outside routine as a global variable?
I dont know yet, but i think it is making some problems… i want only be sure that i can declare as global variable.

Probably problem withxHigherPriorityTaskWoken

If no other interrupts use the same variable, or you can never have interrupts that nest, then it can be global. If it is global it must be set to pdFALSE manuall when the interrupt starts.

Probably problem withxHigherPriorityTaskWoken

It means i have an issue with semaphores and task timings… :(