aboutsummaryrefslogtreecommitdiffstats
path: root/os
diff options
context:
space:
mode:
Diffstat (limited to 'os')
-rw-r--r--os/hal/include/hal_queues.h2
-rw-r--r--os/hal/src/hal_queues.c2
2 files changed, 2 insertions, 2 deletions
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.