suggestion to avoid errors in mailboxes
eco747 opened this issue · comments
Etienne Cochard commented
in the mailbox_tag_message function i suggest to use this message declaration instead of message[32]
this way if you pass more than 32 elements it will not crash...
uint32_t attribute((aligned(16))) message[data_count+3];
Leon de Boer commented
I like the idea and will do that but actually because it minimizes the stack use. The 32 entries was an improbably large size there isn't really that many tags you could clump together. However still a very good idea and will do.