From adb00b4f8f7d34b0fa026bc8fc083e3464d6c32a Mon Sep 17 00:00:00 2001 From: gdisirio Date: Tue, 5 Aug 2014 07:53:49 +0000 Subject: git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@7122 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- os/hal/include/hal_queues.h | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) (limited to 'os/hal/include/hal_queues.h') 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_ */ -- cgit v1.2.3