diff --git a/Documentation/NuttXCCodingStandard.html b/Documentation/NuttXCCodingStandard.html index ab596429c6..fbf05aa931 100644 --- a/Documentation/NuttXCCodingStandard.html +++ b/Documentation/NuttXCCodingStandard.html @@ -813,9 +813,8 @@ int animals(int animal)
- Indentation Unit + Indentation Unit. Indentation is in units of two spaces; Each indentation level is twos spaces further to the right than the preceding identation levels. - The use of TAB characters for indentation is prohibited in C source and header files (they may be appropriate in make files and some scripts, however).
@@ -841,6 +840,13 @@ int animals(int animal) |
+ Use of TAB Characters. + The use of TAB characters for indentation is prohibited in C source and header files. + TAB characters are, however, used in make files, assembly language source files, Kconfig files and some script files. + When TAB characters are used in these files, spaces may not be used for indentation. + The correct TAB setting is 4 spaces (not 8) in these cases. +
Alignment of Braces. Note that since braces must be on a separate line (see above), this indentation by two spaces has an interesting property: