Hey guys, I've created a project that includes 2 threads. The main (HAL) thread, does some calculations and then needs to pass the result to a function in another thread.
I tried declaring the variable as external, but i got no luck.
What is the easiest way to achieve this ?
Global should work. Declare in one file, extern in the other.
Passing a message between threads also works.