Hi All,
Can anyone please tell me how to clear the pending messages from the Mailbox. I dont want to execute some messages in Mailbox for particular task, so wanted to clear this messages without reading the mailbox.
Thanks
Hi, I do this, by simply retrieving all the messages from the mailbox:
// clear mailbox by waiting for all messages while (os_mbx_wait(mbx, (void**)&dummy, 0) != OS_R_TMO);
Thank you Stefan.. its working