From 42574649822b5a67ee44fd81961026e62872719c Mon Sep 17 00:00:00 2001 From: iabdalkader Date: Fri, 19 Sep 2025 19:45:14 +0200 Subject: [PATCH] tools: Fix uncrustify union variable formatting Set nl_brace_struct_var = remove to keep union/struct variable declarations on the same line as the closing brace. --- tools/uncrustify.cfg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/uncrustify.cfg b/tools/uncrustify.cfg index da340f87a..ac01cf40e 100644 --- a/tools/uncrustify.cfg +++ b/tools/uncrustify.cfg @@ -2083,7 +2083,7 @@ nl_after_vbrace_close = false # true/false # Add or remove newline between the close brace and identifier, # as in 'struct { int a; } b;'. Affects enumerations, unions and # structures. If set to ignore, uses nl_after_brace_close. -nl_brace_struct_var = ignore # ignore/add/remove/force/not_defined +nl_brace_struct_var = remove # ignore/add/remove/force/not_defined # Whether to alter newlines in '#define' macros. nl_define_macro = false # true/false