Merge pull request #14574 from maribu/fix-indent-switch
uncrustify-riot.cfg: Don't indent switch cases
This commit is contained in:
commit
64fb92e65d
@ -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) {
|
||||
|
||||
@ -7,7 +7,7 @@ input_tab_size = 4 # original tab size
|
||||
output_tab_size = 4 # new tab size
|
||||
indent_columns = output_tab_size #
|
||||
indent_label = 1 # pos: absolute col, neg: relative column
|
||||
indent_switch_case = 4 # number
|
||||
indent_switch_case = 0 # number
|
||||
indent_ternary_operator = 2 # When the `:` is a continuation, indent it under `?`
|
||||
|
||||
#
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user