diff options
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);
}
|