I apologize in advance if this question has been posted. If so, could you please post a link as I searched and could not find what I am looking for.
Very basic: I’ve set a up a message queue with 3 elements of uint8. I’ve declared the queue handle and the “pvItemToQueue” globally so I could call it from another module/function. In that function I use “extern” to declare the 2 variables.
When I send to the message queue from withing the module where it’s defined (in main.c) the rx queue seems to function OK. When I try to send a message from the other module (& function) the message never seems to show up in the rx queue.
One thing to note: the function where the queue is (seemingly) not working is called in a Timer ISR. Not sure if this has any significance - I realize that there’s a different call for ISR’s. I changed the call to the ISR queue send, but it did not appear to work either.
Thanks for any help you can provide!