This is an automated email from the ASF dual-hosted git repository. andk pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/mynewt-nimble.git
commit f32f28c9e331b9f6b277116afbf7a3a9e9ce984a Author: Andrzej Kaczmarek <[email protected]> AuthorDate: Fri Feb 3 16:10:04 2023 +0100 Fix uncrustify configuration This changes required aligmnent of closing parenthesis of function call if placed in new line. Before: int x = func(aaa, bbb, ccc, ); After: int x = func(aaa, bbb, ccc, ); The syntax above is not really used, but it also affects macros so may be useful in some cases. --- uncrustify.cfg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/uncrustify.cfg b/uncrustify.cfg index 2bdd2ac5..1735f339 100644 --- a/uncrustify.cfg +++ b/uncrustify.cfg @@ -225,7 +225,7 @@ indent_paren_nl = false # false/true # 0: Indent to body level # 1: Align under the open paren # 2: Indent to the brace level -indent_paren_close = 0 # number +indent_paren_close = 2 # number # Controls the indent of a comma when inside a paren.If TRUE, aligns under the open paren indent_comma_paren = false # false/true
