aboutsummaryrefslogtreecommitdiffstats
path: root/os/lib
diff options
context:
space:
mode:
authorGiovanni Di Sirio <gdisirio@gmail.com>2018-03-17 17:52:51 +0000
committerGiovanni Di Sirio <gdisirio@gmail.com>2018-03-17 17:52:51 +0000
commit96f6787ce0f7b2e6a4ea5a32432bc1cc22ddc54a (patch)
treea8a902d7cda40c8fe899fa894d51e9d1346566f9 /os/lib
parent35c72d21376b08452cbe15855e22312e402f73cc (diff)
downloadChibiOS-96f6787ce0f7b2e6a4ea5a32432bc1cc22ddc54a.tar.gz
ChibiOS-96f6787ce0f7b2e6a4ea5a32432bc1cc22ddc54a.tar.bz2
ChibiOS-96f6787ce0f7b2e6a4ea5a32432bc1cc22ddc54a.zip
Fixed ancient documentation error. Removed some obsolete checks.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@11800 110e8d01-0319-4d1e-a829-52ad28d1bb01
Diffstat (limited to 'os/lib')
-rw-r--r--os/lib/include/chfactory.h4
-rw-r--r--os/lib/include/chfifo.h4
-rw-r--r--os/lib/include/chheap.h4
-rw-r--r--os/lib/include/chmboxes.h5
-rw-r--r--os/lib/include/chmemcore.h4
-rw-r--r--os/lib/include/chmempools.h4
6 files changed, 0 insertions, 25 deletions
diff --git a/os/lib/include/chfactory.h b/os/lib/include/chfactory.h
index 1843d6a36..75f52e52f 100644
--- a/os/lib/include/chfactory.h
+++ b/os/lib/include/chfactory.h
@@ -28,10 +28,6 @@
#ifndef CHFACTORY_H
#define CHFACTORY_H
-#if !defined(CH_CFG_USE_FACTORY)
-#define CH_CFG_USE_FACTORY FALSE
-#endif
-
#if (CH_CFG_USE_FACTORY == TRUE) || defined(__DOXYGEN__)
/*===========================================================================*/
diff --git a/os/lib/include/chfifo.h b/os/lib/include/chfifo.h
index 11ca3631d..066de53e6 100644
--- a/os/lib/include/chfifo.h
+++ b/os/lib/include/chfifo.h
@@ -44,10 +44,6 @@
#ifndef CHFIFO_H
#define CHFIFO_H
-#if !defined(CH_CFG_USE_OBJ_FIFOS)
-#define CH_CFG_USE_OBJ_FIFOS TRUE
-#endif
-
#if (CH_CFG_USE_OBJ_FIFOS == TRUE) || defined(__DOXYGEN__)
/*===========================================================================*/
diff --git a/os/lib/include/chheap.h b/os/lib/include/chheap.h
index be92ea423..24e8e4761 100644
--- a/os/lib/include/chheap.h
+++ b/os/lib/include/chheap.h
@@ -28,10 +28,6 @@
#ifndef CHHEAP_H
#define CHHEAP_H
-#if !defined(CH_CFG_USE_HEAP)
-#define CH_CFG_USE_HEAP FALSE
-#endif
-
#if (CH_CFG_USE_HEAP == TRUE) || defined(__DOXYGEN__)
/*===========================================================================*/
diff --git a/os/lib/include/chmboxes.h b/os/lib/include/chmboxes.h
index 0790407e5..65e811e60 100644
--- a/os/lib/include/chmboxes.h
+++ b/os/lib/include/chmboxes.h
@@ -28,10 +28,6 @@
#ifndef CHMBOXES_H
#define CHMBOXES_H
-#if !defined(CH_CFG_USE_MAILBOXES)
-#define CH_CFG_USE_MAILBOXES FALSE
-#endif
-
#if (CH_CFG_USE_MAILBOXES == TRUE) || defined(__DOXYGEN__)
/*===========================================================================*/
@@ -150,7 +146,6 @@ static inline size_t chMBGetSizeI(const mailbox_t *mbp) {
*
* @param[in] mbp the pointer to an initialized mailbox_t object
* @return The number of queued messages.
- * @retval QUEUE_RESET if the queue is in reset state.
*
* @iclass
*/
diff --git a/os/lib/include/chmemcore.h b/os/lib/include/chmemcore.h
index af8b5fca4..262796d84 100644
--- a/os/lib/include/chmemcore.h
+++ b/os/lib/include/chmemcore.h
@@ -28,10 +28,6 @@
#ifndef CHMEMCORE_H
#define CHMEMCORE_H
-#if !defined(CH_CFG_USE_MEMCORE)
-#define CH_CFG_USE_MEMCORE FALSE
-#endif
-
#if (CH_CFG_USE_MEMCORE == TRUE) || defined(__DOXYGEN__)
/*===========================================================================*/
diff --git a/os/lib/include/chmempools.h b/os/lib/include/chmempools.h
index 59eedc588..f8555c137 100644
--- a/os/lib/include/chmempools.h
+++ b/os/lib/include/chmempools.h
@@ -28,10 +28,6 @@
#ifndef CHMEMPOOLS_H
#define CHMEMPOOLS_H
-#if !defined(CH_CFG_USE_MEMPOOLS)
-#define CH_CFG_USE_MEMPOOLS FALSE
-#endif
-
#if (CH_CFG_USE_MEMPOOLS == TRUE) || defined(__DOXYGEN__)
/*===========================================================================*/