[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:
barthess 2014-09-14 08:07:55 +00:00
parent a8042eea48
commit f42d8a8898
1 changed files with 1 additions and 2 deletions

View File

@ -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);
}