From 832fbf4c6d23b50fd82b7e4f3c6a52b2034fe3bd Mon Sep 17 00:00:00 2001 From: gdisirio Date: Wed, 6 Aug 2014 10:40:09 +0000 Subject: git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@7140 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- os/nil/include/nil.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'os/nil/include/nil.h') diff --git a/os/nil/include/nil.h b/os/nil/include/nil.h index 80ef93b5d..29ac77b3b 100644 --- a/os/nil/include/nil.h +++ b/os/nil/include/nil.h @@ -264,7 +264,7 @@ typedef struct nil_thread thread_t; /** Boundaries of the idle thread boundaries, only required if stack checking is enabled.*/ -#if NIL_CFG_ENABLE_STACK_CHECK +#if NIL_CFG_ENABLE_STACK_CHECK || defined(__DOXYGEN__) extern stkalign_t __main_thread_stack_base__, __main_thread_stack_end__; #define THD_IDLE_BASE (&__main_thread_stack_base__) @@ -334,13 +334,13 @@ struct nil_thread { void *p; /**< @brief Generic pointer. */ thread_reference_t *trp; /**< @brief Pointer to thread reference. */ semaphore_t *semp; /**< @brief Pointer to semaphore. */ -#if NIL_CFG_USE_EVENTS +#if NIL_CFG_USE_EVENTS || defined(__DOXYGEN__) eventmask_t ewmask; /**< @brief Enabled events mask. */ #endif } u1; volatile systime_t timeout;/**< @brief Timeout counter, zero if disabled. */ -#if NIL_CFG_USE_EVENTS +#if NIL_CFG_USE_EVENTS || defined(__DOXYGEN__) eventmask_t epmask; /**< @brief Pending events mask. */ #endif #if NIL_CFG_ENABLE_STACK_CHECK || defined(__DOXYGEN__) @@ -362,7 +362,7 @@ typedef struct { thread_t *current; /** * @brief Pointer to the next thread to be executed. - * @note This pointer must point at the same thread pointed by @p currp + * @note This pointer must point at the same thread pointed by @p current * or to an higher priority thread if a switch is required. */ thread_t *next; -- cgit v1.2.3