aboutsummaryrefslogtreecommitdiffstats
path: root/os/common/oslib/include/chfifo.h
diff options
context:
space:
mode:
authorGiovanni Di Sirio <gdisirio@gmail.com>2017-10-03 13:47:17 +0000
committerGiovanni Di Sirio <gdisirio@gmail.com>2017-10-03 13:47:17 +0000
commit5e48932850f78d3c3fc90ae73982f1ce5ba21e38 (patch)
treedadfd0381ae0974cc6ed632ea7001410fcecdc10 /os/common/oslib/include/chfifo.h
parent4d364b8aba9b23c25126d24ee9ae9c791b83f970 (diff)
downloadChibiOS-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.h8
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 */