diff --git a/.uncrustify.cfg b/.uncrustify.cfg index ce3ee75c45..ac9173e18d 100644 --- a/.uncrustify.cfg +++ b/.uncrustify.cfg @@ -50,7 +50,7 @@ nl_struct_brace = remove nl_do_brace = remove nl_if_brace = remove nl_for_brace = remove -nl_else_brace = remove # Note: this option may cause problems for macro-guarded if-else partials +nl_else_brace = remove nl_while_brace = remove nl_switch_brace = remove @@ -202,8 +202,6 @@ sp_inside_braces_enum = add # At least 1 space inside '{ }' in a struct sp_inside_braces_struct = add -# Except for empty braces which should not have a space - # At least 1 space between a function return type and the function name sp_type_func = add