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,
is it possible to create an array of mailboxes? I would like to use the mailbox objects as followes:
int i; for (i = 0; i < 5; i++) os_mbx_wait(mbx[i], &ptr, 0x000A);
Thanks for every hint!
Best regards, David
Thanks!
This code snippet is only an example. In fact i have 5 different mailboxes and in dependency of an integer index I have to read a specific mailbox like
os_mbx_wait(mbx[i], &ptr, 0x000A);
But I don't know how to use
os_mbx_declare(...); os_mbx_init(...);
for declaring and initializing the mailbox array.
You know what I mean?
Best regards! David