[CPP wrappers] MailBox minor code cleanup.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@7274 35acf78f-673a-0410-8e92-d51de3d6d3f4
This commit is contained in:
parent
a8042eea48
commit
f42d8a8898
|
@ -1867,8 +1867,7 @@ namespace chibios_rt {
|
|||
* @init
|
||||
*/
|
||||
MailboxBase(msg_t *buf, cnt_t n) {
|
||||
/* static_assert(sizeof(msg_t) >= sizeof(T),
|
||||
"You can not pass objects bigger than msg_t"); */
|
||||
|
||||
chMBObjectInit(&mb, buf, n);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue