mirror of
https://github.com/gosticks/RIOT.git
synced 2026-10-05 23:37:08 +00:00
core: make some formatting uncrustify friendly (or ignore)
This commit is contained in:
@@ -27,6 +27,9 @@
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
/* uncrustify gets mightily confused by these macros... */
|
||||
/* begin{code-style-ignore} */
|
||||
|
||||
/**
|
||||
* @def container_of(PTR, TYPE, MEMBER)
|
||||
* @brief Returns the container of a pointer to a member.
|
||||
@@ -216,6 +219,8 @@
|
||||
* @endcond
|
||||
*/
|
||||
|
||||
/* end{code-style-ignore} */
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
+3
-1
@@ -31,7 +31,9 @@ extern "C" {
|
||||
#endif
|
||||
|
||||
/** Static initializer for mbox objects */
|
||||
#define MBOX_INIT(queue, queue_size) {{0}, {0}, CIB_INIT(queue_size), queue}
|
||||
#define MBOX_INIT(queue, queue_size) { \
|
||||
{0}, {0}, CIB_INIT(queue_size), queue \
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief Mailbox struct definition
|
||||
|
||||
Reference in New Issue
Block a user