diff options
author | Giovanni Di Sirio <gdisirio@gmail.com> | 2016-04-05 10:07:57 +0000 |
---|---|---|
committer | Giovanni Di Sirio <gdisirio@gmail.com> | 2016-04-05 10:07:57 +0000 |
commit | fbb8e866760c1bc605422c92eef756903e5d63df (patch) | |
tree | 2aef6060fd175cdd671e8bd45ed69029ac0805a3 /os/rt/include/chtrace.h | |
parent | b529e1b88e7e187c14268d4facc6542d3b499f6b (diff) | |
download | ChibiOS-fbb8e866760c1bc605422c92eef756903e5d63df.tar.gz ChibiOS-fbb8e866760c1bc605422c92eef756903e5d63df.tar.bz2 ChibiOS-fbb8e866760c1bc605422c92eef756903e5d63df.zip |
Scheduler queues modified in a more readable and safer way.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@9241 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/rt/include/chtrace.h')
-rw-r--r-- | os/rt/include/chtrace.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/os/rt/include/chtrace.h b/os/rt/include/chtrace.h index 2b1afcb4c..43d8a6eac 100644 --- a/os/rt/include/chtrace.h +++ b/os/rt/include/chtrace.h @@ -78,7 +78,7 @@ /**
* @brief Trace buffer entries.
* @note The trace buffer is only allocated if @p CH_DBG_TRACE_MASK is
- * different from @p CH_DBG_TRACE_MASK_NONE.
+ * different from @p CH_DBG_TRACE_MASK_DISABLED.
*/
#if !defined(CH_DBG_TRACE_BUFFER_SIZE) || defined(__DOXYGEN__)
#define CH_DBG_TRACE_BUFFER_SIZE 128
@@ -97,7 +97,7 @@ /* Module data structures and types. */
/*===========================================================================*/
-#if (CH_DBG_TRACE_MASK != CH_DBG_TRACE_MASK_NONE) || defined(__DOXYGEN__)
+#if (CH_DBG_TRACE_MASK != CH_DBG_TRACE_MASK_DISABLED) || defined(__DOXYGEN__)
/*lint -save -e46 [6.1] An uint32_t is required.*/
/**
* @brief Trace buffer record.
@@ -191,7 +191,7 @@ typedef struct { */
ch_trace_event_t buffer[CH_DBG_TRACE_BUFFER_SIZE];
} ch_trace_buffer_t;
-#endif /* CH_DBG_TRACE_MASK != CH_DBG_TRACE_MASK_NONE */
+#endif /* CH_DBG_TRACE_MASK != CH_DBG_TRACE_MASK_DISABLED */
/*===========================================================================*/
/* Module macros. */
|