diff --git a/Documentation/NuttXCCodingStandard.html b/Documentation/NuttXCCodingStandard.html index 270b036a049..0acc369f824 100644 --- a/Documentation/NuttXCCodingStandard.html +++ b/Documentation/NuttXCCodingStandard.html @@ -12,7 +12,7 @@

NuttX C Coding Standard

-

Last Updated: August 28, 2018

+

Last Updated: January 10, 2019

@@ -994,8 +994,18 @@ int animals(int animal)

Alignment of Braces. Note that since braces must be on a separate line (see above), this indentation by two spaces has an interesting property: - All C statements (and case selectors) like on lines that are odd multiples of 2 spaces: 2, 6, 10, ... (2*n + 1). - A braces lie on a separate line indented by an even multple of 2 spaces: 4, 8, 12, ... 2*n. +

+ +

+ Thus, all code at the indentation level should align on the same column. + Similarly, opening and closing braces at the same indentation level should also align on the same (but different) column.