aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--demos/ARMCM4-STM32F303-DISCOVERY/chconf.h2
-rw-r--r--os/hal/include/hal_queues.h2
-rw-r--r--os/hal/src/hal_queues.c2
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.