diff options
author | Giovanni Di Sirio <gdisirio@gmail.com> | 2017-10-03 13:47:17 +0000 |
---|---|---|
committer | Giovanni Di Sirio <gdisirio@gmail.com> | 2017-10-03 13:47:17 +0000 |
commit | 5e48932850f78d3c3fc90ae73982f1ce5ba21e38 (patch) | |
tree | dadfd0381ae0974cc6ed632ea7001410fcecdc10 /os/common/oslib/include/chfifo.h | |
parent | 4d364b8aba9b23c25126d24ee9ae9c791b83f970 (diff) | |
download | ChibiOS-5e48932850f78d3c3fc90ae73982f1ce5ba21e38.tar.gz ChibiOS-5e48932850f78d3c3fc90ae73982f1ce5ba21e38.tar.bz2 ChibiOS-5e48932850f78d3c3fc90ae73982f1ce5ba21e38.zip |
Objects FIFOs added to the factory.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@10754 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/common/oslib/include/chfifo.h')
-rw-r--r-- | os/common/oslib/include/chfifo.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/os/common/oslib/include/chfifo.h b/os/common/oslib/include/chfifo.h index 537314192..9f3c0924b 100644 --- a/os/common/oslib/include/chfifo.h +++ b/os/common/oslib/include/chfifo.h @@ -44,11 +44,11 @@ #ifndef CHFIFO_H
#define CHFIFO_H
-#if !defined(CH_CFG_USE_FIFO)
-#define CH_CFG_USE_FIFO TRUE
+#if !defined(CH_CFG_USE_OBJ_FIFOS)
+#define CH_CFG_USE_OBJ_FIFOS TRUE
#endif
-#if (CH_CFG_USE_FIFO == TRUE) || defined(__DOXYGEN__)
+#if (CH_CFG_USE_OBJ_FIFOS == TRUE) || defined(__DOXYGEN__)
/*===========================================================================*/
/* Module constants. */
@@ -327,7 +327,7 @@ static inline msg_t chFifoReceiveObjectTimeout(objects_fifo_t *ofp, return chMBFetchTimeout(&ofp->mbx, (msg_t *)objpp, timeout);
}
-#endif /* CH_CFG_USE_FIFO == TRUE */
+#endif /* CH_CFG_USE_OBJ_FIFOS == TRUE */
#endif /* CHFIFO_H */
|