diff --git a/os/rt/include/chschd.h b/os/rt/include/chschd.h index 5d9829d57..25bd5d49b 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. */ }; @@ -476,7 +476,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. */