aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2014-08-05 07:53:49 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2014-08-05 07:53:49 +0000
commitadb00b4f8f7d34b0fa026bc8fc083e3464d6c32a (patch)
tree31d434baec8df4472c58032915a44f433b3cca77
parente504324889cd1bb35fd1a9b3d1a938792c006527 (diff)
downloadChibiOS-adb00b4f8f7d34b0fa026bc8fc083e3464d6c32a.tar.gz
ChibiOS-adb00b4f8f7d34b0fa026bc8fc083e3464d6c32a.tar.bz2
ChibiOS-adb00b4f8f7d34b0fa026bc8fc083e3464d6c32a.zip
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@7122 35acf78f-673a-0410-8e92-d51de3d6d3f4
-rw-r--r--os/hal/include/hal_queues.h11
1 files changed, 3 insertions, 8 deletions
diff --git a/os/hal/include/hal_queues.h b/os/hal/include/hal_queues.h
index a96f236e9..f8fa0756a 100644
--- a/os/hal/include/hal_queues.h
+++ b/os/hal/include/hal_queues.h
@@ -31,7 +31,7 @@
/* The ChibiOS/RT kernel provides the following definitions by itself, this
check is performed in order to avoid conflicts. */
-#if !defined(_CHIBIOS_RT_) || !CH_CFG_USE_QUEUES
+#if !defined(_CHIBIOS_RT_) || !CH_CFG_USE_QUEUES || defined(__DOXYGEN__)
/**
* @name Queue functions returned status value
@@ -365,12 +365,7 @@ extern "C" {
}
#endif
-/* Types provided for backward compatibility, deprecated use.*/
-typedef io_queue_t GenericQueue;
-typedef input_queue_t InputQueue;
-typedef output_queue_t OutputQueue;
-
-#else /* defined(_CHIBIOS_RT_) && CH_USE_QUEUES */
+#else /* defined(_CHIBIOS_RT_) && CH_CFG_USE_QUEUES */
/* If ChibiOS is being used and its own queues subsystem is activated then
this module will use the ChibiOS queues code.*/
@@ -400,7 +395,7 @@ typedef output_queue_t OutputQueue;
#define oqGetI(oqp) chOQGetI(oqp)
#define oqWriteTimeout(oqp, bp, n, time) chOQWriteTimeout(oqp, bp, n, time)
-#endif /* defined(_CHIBIOS_RT_) && CH_USE_QUEUES */
+#endif /* defined(_CHIBIOS_RT_) && CH_CFG_USE_QUEUES */
#endif /* _HAL_QUEUES_H_ */