aboutsummaryrefslogtreecommitdiffstats
path: root/os/kernel
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2009-10-17 11:07:15 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2009-10-17 11:07:15 +0000
commite9d7b9de5705a3b5c0b822077fbd165c86087481 (patch)
treefc6a51fec7f88d34acfeb79df63cc8a4d9a10f54 /os/kernel
parent26ed3732876a649fb02a83e768e4392034d65653 (diff)
downloadChibiOS-e9d7b9de5705a3b5c0b822077fbd165c86087481.tar.gz
ChibiOS-e9d7b9de5705a3b5c0b822077fbd165c86087481.tar.bz2
ChibiOS-e9d7b9de5705a3b5c0b822077fbd165c86087481.zip
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@1230 35acf78f-673a-0410-8e92-d51de3d6d3f4
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