diff options
author | barthess <barthess@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2014-09-14 08:07:55 +0000 |
---|---|---|
committer | barthess <barthess@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2014-09-14 08:07:55 +0000 |
commit | f42d8a8898151743068fe60ba18269aa2eb221b6 (patch) | |
tree | c56960ea647ad9db0081e1229a89385c90bcba59 /os | |
parent | a8042eea482ec599855db752d87f1227e57c4778 (diff) | |
download | ChibiOS-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')
-rw-r--r-- | os/various/cpp_wrappers/ch.hpp | 3 |
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);
}
|