aboutsummaryrefslogtreecommitdiffstats
path: root/os/various/cpp_wrappers/ch.hpp
diff options
context:
space:
mode:
authorbarthess <barthess@35acf78f-673a-0410-8e92-d51de3d6d3f4>2014-09-14 08:07:55 +0000
committerbarthess <barthess@35acf78f-673a-0410-8e92-d51de3d6d3f4>2014-09-14 08:07:55 +0000
commitf42d8a8898151743068fe60ba18269aa2eb221b6 (patch)
treec56960ea647ad9db0081e1229a89385c90bcba59 /os/various/cpp_wrappers/ch.hpp
parenta8042eea482ec599855db752d87f1227e57c4778 (diff)
downloadChibiOS-f42d8a8898151743068fe60ba18269aa2eb221b6.tar.gz
ChibiOS-f42d8a8898151743068fe60ba18269aa2eb221b6.tar.bz2
ChibiOS-f42d8a8898151743068fe60ba18269aa2eb221b6.zip
[CPP wrappers] MailBox minor code cleanup.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@7274 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/various/cpp_wrappers/ch.hpp')
-rw-r--r--os/various/cpp_wrappers/ch.hpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/os/various/cpp_wrappers/ch.hpp b/os/various/cpp_wrappers/ch.hpp
index 2c2a82fb0..6d2584a1d 100644
--- a/os/various/cpp_wrappers/ch.hpp
+++ b/os/various/cpp_wrappers/ch.hpp
@@ -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);
}