From f0ce992d4aad01c71bc8147109304ef744a46bf4 Mon Sep 17 00:00:00 2001 From: Koen Zandberg Date: Tue, 19 Jan 2021 10:28:31 +0100 Subject: [PATCH] core/thread: uncrustify header file --- core/include/thread.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/core/include/thread.h b/core/include/thread.h index 22733b654c..16d4e6a36f 100644 --- a/core/include/thread.h +++ b/core/include/thread.h @@ -594,7 +594,8 @@ static inline int thread_has_msg_queue(const volatile struct _thread *thread) * @param thread thread to work on * @returns status of thread */ -static inline thread_status_t thread_get_status(const thread_t *thread) { +static inline thread_status_t thread_get_status(const thread_t *thread) +{ return thread->status; } @@ -604,7 +605,8 @@ static inline thread_status_t thread_get_status(const thread_t *thread) { * @param thread thread to work on * @returns true if thread is active, false otherwise */ -static inline bool thread_is_active(const thread_t *thread) { +static inline bool thread_is_active(const thread_t *thread) +{ return thread->status >= STATUS_ON_RUNQUEUE; }