Repo restyled using astyle (#683)

The rules are in .tools/astyle/config/style.cfg
and can also be reviewed at
https://www.mysensors.org/view/260#coding-guidelines-core-library
This commit is contained in:
Patrick Fallberg
2016-12-07 23:44:29 +01:00
committed by GitHub
parent d4c4ab82ea
commit 8e1ef13804
167 changed files with 16103 additions and 15168 deletions
+23
View File
@@ -0,0 +1,23 @@
# Coding standard for MySensors core library (see https://www.mysensors.org/download/contributing)
# Curly braces should follow "One True Brace Style" format
style=1tbs
# All control statements ('if', 'for', 'while' etc.) should include curly braces {}. Even one-liners.
add-brackets
# Tab-character for white space/indentation
indent=tab
# All lines should be kept at 100 character width or less
max-code-length=100
break-after-logical
# Preprocessor blocks should be indented
#indent-preproc-block
# Preprocessor definitions should be indented if linebroken
indent-preproc-define
# C++ comments should be indented to source level, and not be kept in first column
indent-col1-comments