mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-19 21:03:48 -07:00
make style: don't indent preprocessor directives
This commit is contained in:
parent
c4920d7179
commit
a7448f802f
4 changed files with 39 additions and 39 deletions
2
Makefile
2
Makefile
|
@ -136,7 +136,7 @@ style:
|
|||
-exec sh -c "echo >> {}" \;
|
||||
# Apply astyle on *.c, *.h, *.cpp
|
||||
find . \( -name "*.[ch]" -or -name "*.cpp" \) -exec astyle --formatted --mode=c --suffix=none \
|
||||
--indent=spaces=4 --indent-switches --indent-preprocessor \
|
||||
--indent=spaces=4 --indent-switches \
|
||||
--keep-one-line-blocks --max-instatement-indent=60 \
|
||||
--style=google --pad-oper --unpad-paren --pad-header \
|
||||
--align-pointer=name {} \;
|
||||
|
|
|
@ -72,6 +72,6 @@ uint32_t CRC8Legic(uint8_t *buff, size_t size);
|
|||
.mask = ((1L<<(_order))-1) \
|
||||
.refin = false, \
|
||||
.refout = false \
|
||||
}
|
||||
}
|
||||
|
||||
#endif /* __CRC_H */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue