mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
core/thread_flags: Fix code indention
Apply coding convention on the indent in the single switch statement within core.
This commit is contained in:
parent
bb064e0580
commit
8745d820ba
@ -32,15 +32,15 @@ static inline int __attribute__((always_inline)) _thread_flags_wake(thread_t *th
|
||||
thread_flags_t mask = (uint16_t)(unsigned)thread->wait_data;
|
||||
|
||||
switch (thread->status) {
|
||||
case STATUS_FLAG_BLOCKED_ANY:
|
||||
wakeup = (thread->flags & mask);
|
||||
break;
|
||||
case STATUS_FLAG_BLOCKED_ALL:
|
||||
wakeup = ((thread->flags & mask) == mask);
|
||||
break;
|
||||
default:
|
||||
wakeup = 0;
|
||||
break;
|
||||
case STATUS_FLAG_BLOCKED_ANY:
|
||||
wakeup = (thread->flags & mask);
|
||||
break;
|
||||
case STATUS_FLAG_BLOCKED_ALL:
|
||||
wakeup = ((thread->flags & mask) == mask);
|
||||
break;
|
||||
default:
|
||||
wakeup = 0;
|
||||
break;
|
||||
}
|
||||
|
||||
if (wakeup) {
|
||||
|
Loading…
Reference in New Issue
Block a user