aboutsummaryrefslogtreecommitdiffstats
path: root/os/kernel
diff options
context:
space:
mode:
Diffstat (limited to 'os/kernel')
-rw-r--r--os/kernel/include/queues.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/os/kernel/include/queues.h b/os/kernel/include/queues.h
index 9082ea5f7..25ba82d65 100644
--- a/os/kernel/include/queues.h
+++ b/os/kernel/include/queues.h
@@ -27,6 +27,8 @@
#ifndef _QUEUES_H_
#define _QUEUES_H_
+#if CH_USE_QUEUES
+
/*
* Module dependancies check.
*/
@@ -48,7 +50,6 @@ typedef void (*qnotify_t)(void);
/** Returned by the queue functions if the queue is full. */
#define Q_FULL -4
-#if CH_USE_QUEUES
/**
* @brief Generic I/O queue structure.
* @details This structure represents a generic Input or Output asymmetrical