From 5903f8305c335fd449c2a232b248f83691233e46 Mon Sep 17 00:00:00 2001 From: Theodore Ateba Date: Tue, 4 Sep 2018 11:40:08 +0000 Subject: AVR: Change the comment type and correct indentation at the end of the file. git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@12235 110e8d01-0319-4d1e-a829-52ad28d1bb01 --- os/nil/include/ch.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'os/nil/include') diff --git a/os/nil/include/ch.h b/os/nil/include/ch.h index 3aa85af6c..70696e84d 100644 --- a/os/nil/include/ch.h +++ b/os/nil/include/ch.h @@ -143,11 +143,11 @@ #define NIL_STATE_SUSP (tstate_t)2 /**< @brief Thread suspended. */ #define NIL_STATE_WTQUEUE (tstate_t)3 /**< @brief On queue or semaph. */ #define NIL_STATE_WTOREVT (tstate_t)4 /**< @brief Waiting for events. */ -#define NIL_THD_IS_READY(tr) ((tr)->state == NIL_STATE_READY) -#define NIL_THD_IS_SLEEPING(tr) ((tr)->state == NIL_STATE_SLEEPING) -#define NIL_THD_IS_SUSP(tr) ((tr)->state == NIL_STATE_SUSP) -#define NIL_THD_IS_WTQUEUE(tr) ((tr)->state == NIL_STATE_WTQUEUE) -#define NIL_THD_IS_WTOREVT(tr) ((tr)->state == NIL_STATE_WTOREVT) +#define NIL_THD_IS_READY(tp) ((tp)->state == NIL_STATE_READY) +#define NIL_THD_IS_SLEEPING(tp) ((tp)->state == NIL_STATE_SLEEPING) +#define NIL_THD_IS_SUSP(tp) ((tp)->state == NIL_STATE_SUSP) +#define NIL_THD_IS_WTQUEUE(tp) ((tp)->state == NIL_STATE_WTQUEUE) +#define NIL_THD_IS_WTOREVT(tp) ((tp)->state == NIL_STATE_WTOREVT) /** @} */ /** @@ -404,7 +404,7 @@ * @brief Threads initialization hook. */ #if !defined(CH_CFG_THREAD_EXT_INIT_HOOK) || defined(__DOXYGEN__) -#define CH_CFG_THREAD_EXT_INIT_HOOK(tr) {} +#define CH_CFG_THREAD_EXT_INIT_HOOK(tp) {} #endif /*-* -- cgit v1.2.3