aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--os/rt/include/chschd.h3
-rw-r--r--os/rt/src/chdebug.c4
-rw-r--r--os/various/memstreams.h2
3 files changed, 6 insertions, 3 deletions
diff --git a/os/rt/include/chschd.h b/os/rt/include/chschd.h
index 4d04ee56e..b90ed077b 100644
--- a/os/rt/include/chschd.h
+++ b/os/rt/include/chschd.h
@@ -245,6 +245,9 @@ struct thread {
void *p_mpool;
#endif
#if CH_DBG_STATISTICS || defined(__DOXYGEN__)
+ /**
+ * @brief Thread statistics.
+ */
time_measurement_t p_stats;
#endif
#if defined(CH_CFG_THREAD_EXTRA_FIELDS)
diff --git a/os/rt/src/chdebug.c b/os/rt/src/chdebug.c
index d1b792921..f9408d515 100644
--- a/os/rt/src/chdebug.c
+++ b/os/rt/src/chdebug.c
@@ -46,11 +46,11 @@
* - Called from an ISR.
* - Not called from a critical zone.
* .
- * - SV#6, misplaced @p chSysLockFromIsr().
+ * - SV#6, misplaced @p chSysLockFromISR().
* - Not called from an ISR.
* - Called from a critical zone.
* .
- * - SV#7, misplaced @p chSysUnlockFromIsr().
+ * - SV#7, misplaced @p chSysUnlockFromISR().
* - Not called from an ISR.
* - Not called from a critical zone.
* .
diff --git a/os/various/memstreams.h b/os/various/memstreams.h
index 7806f9f0a..efaeca4ff 100644
--- a/os/various/memstreams.h
+++ b/os/various/memstreams.h
@@ -42,7 +42,7 @@
/*===========================================================================*/
/**
- * @brief @p RamStream specific data.
+ * @brief @p MemStream specific data.
*/
#define _memory_stream_data \
_base_sequential_stream_data \