We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
Hello
How can I know how many ticks the os_mbx_wait function slept before the message has been received? So when the return code is OS_R_MBX, how can I calculate the wait period?
Regards
I need this information for my own timers implementation. I wait for messages using 'os_mbx_wait' and I need to know how long the wait took in order to calculate the timer expiration. If there is no other option I will add an uptime counter as you suggested.