diff options
author | Giovanni Di Sirio <gdisirio@gmail.com> | 2018-02-06 19:11:03 +0000 |
---|---|---|
committer | Giovanni Di Sirio <gdisirio@gmail.com> | 2018-02-06 19:11:03 +0000 |
commit | ea1e31e8be764309f24ebb3ec3cbac49e2e12212 (patch) | |
tree | f31f42d773953d40f73afc10b43bfc1805dca21f /os/common/oslib/include/chfifo.h | |
parent | d0fa882cdc74af4fad5b1a44e10bca44e83429a1 (diff) | |
download | ChibiOS-ea1e31e8be764309f24ebb3ec3cbac49e2e12212.tar.gz ChibiOS-ea1e31e8be764309f24ebb3ec3cbac49e2e12212.tar.bz2 ChibiOS-ea1e31e8be764309f24ebb3ec3cbac49e2e12212.zip |
MISRA-related fixes.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@11459 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/common/oslib/include/chfifo.h')
-rw-r--r-- | os/common/oslib/include/chfifo.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/os/common/oslib/include/chfifo.h b/os/common/oslib/include/chfifo.h index 17972392e..11ca3631d 100644 --- a/os/common/oslib/include/chfifo.h +++ b/os/common/oslib/include/chfifo.h @@ -70,6 +70,10 @@ #error "CH_CFG_USE_OBJ_FIFOS requires CH_CFG_USE_SEMAPHORES"
#endif
+#if CH_CFG_USE_MAILBOXES == FALSE
+#error "CH_CFG_USE_OBJ_FIFOS requires CH_CFG_USE_MAILBOXES"
+#endif
+
/*===========================================================================*/
/* Module data structures and types. */
/*===========================================================================*/
|