aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--os/rt/include/chschd.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/os/rt/include/chschd.h b/os/rt/include/chschd.h
index 5c81fdf2d..93b72ec31 100644
--- a/os/rt/include/chschd.h
+++ b/os/rt/include/chschd.h
@@ -180,7 +180,7 @@ struct ch_threads_list {
/**
* @brief Generic threads bidirectional linked list header and element.
*/
-struct ch_threads_queue{
+struct ch_threads_queue {
thread_t *p_next; /**< @brief Next in the list/queue. */
thread_t *p_prev; /**< @brief Previous in the queue. */
};
@@ -478,7 +478,7 @@ struct ch_system {
*/
kernel_stats_t kernel_stats;
#endif
-#if CH_CFG_NO_IDLE_THREAD == FALSE
+#if (CH_CFG_NO_IDLE_THREAD == FALSE) || defined(__DOXYGEN__)
/**
* @brief Idle thread working area.
*/