mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
core/thread: uncrustify header file
This commit is contained in:
parent
ba4228cccf
commit
f0ce992d4a
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user