From 8576e8da6ab76f07fb877b89f0a3e6afc9bced0c Mon Sep 17 00:00:00 2001 From: gdisirio Date: Fri, 9 Aug 2013 12:57:40 +0000 Subject: [PATCH] git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/kernel_3_dev@6111 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- demos/ARMCM4-STM32F303-DISCOVERY/chconf.h | 2 +- os/hal/include/hal_queues.h | 2 +- os/hal/src/hal_queues.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/demos/ARMCM4-STM32F303-DISCOVERY/chconf.h b/demos/ARMCM4-STM32F303-DISCOVERY/chconf.h index bc14f02b6..6ee0bd743 100644 --- a/demos/ARMCM4-STM32F303-DISCOVERY/chconf.h +++ b/demos/ARMCM4-STM32F303-DISCOVERY/chconf.h @@ -290,7 +290,7 @@ * @note The default is @p TRUE. */ #if !defined(CH_CFG_USE_QUEUES) || defined(__DOXYGEN__) -#define CH_CFG_USE_QUEUES FALSE +#define CH_CFG_USE_QUEUES TRUE #endif /** diff --git a/os/hal/include/hal_queues.h b/os/hal/include/hal_queues.h index de5060bc3..c49d68eb9 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_USE_QUEUES +#if !defined(_CHIBIOS_RT_) || !CH_CFG_USE_QUEUES /** * @name Queue functions returned status value diff --git a/os/hal/src/hal_queues.c b/os/hal/src/hal_queues.c index 36016a1e9..5a4465652 100644 --- a/os/hal/src/hal_queues.c +++ b/os/hal/src/hal_queues.c @@ -41,7 +41,7 @@ #include "hal.h" -#if !defined(_CHIBIOS_RT_) || !CH_USE_QUEUES || defined(__DOXYGEN__) +#if !defined(_CHIBIOS_RT_) || !CH_CFG_USE_QUEUES || defined(__DOXYGEN__) /** * @brief Initializes an input queue.