游戏王对战板,目前code还是空的

Committer:
WFKnight
Date:
Thu Jun 21 13:51:43 2018 +0000
Revision:
0:9b3d4731edbb
UART, RTOS, LED

Who changed what in which revision?

UserRevisionLine numberNew contents of line
WFKnight 0:9b3d4731edbb 1 # Mbed OS code style definition file for astyle
WFKnight 0:9b3d4731edbb 2
WFKnight 0:9b3d4731edbb 3 # Don't create backup files, let git handle it
WFKnight 0:9b3d4731edbb 4 suffix=none
WFKnight 0:9b3d4731edbb 5
WFKnight 0:9b3d4731edbb 6 # K&R style
WFKnight 0:9b3d4731edbb 7 style=kr
WFKnight 0:9b3d4731edbb 8
WFKnight 0:9b3d4731edbb 9 # 1 TBS addition to k&r, add braces to one liners
WFKnight 0:9b3d4731edbb 10 # Use -j as it was changed in astyle from brackets to braces, this way it is compatible with older astyle versions
WFKnight 0:9b3d4731edbb 11 -j
WFKnight 0:9b3d4731edbb 12
WFKnight 0:9b3d4731edbb 13 # 4 spaces, convert tabs to spaces
WFKnight 0:9b3d4731edbb 14 indent=spaces=4
WFKnight 0:9b3d4731edbb 15 convert-tabs
WFKnight 0:9b3d4731edbb 16
WFKnight 0:9b3d4731edbb 17 # Indent switches and cases
WFKnight 0:9b3d4731edbb 18 indent-switches
WFKnight 0:9b3d4731edbb 19
WFKnight 0:9b3d4731edbb 20 # Remove spaces in and around parentheses
WFKnight 0:9b3d4731edbb 21 unpad-paren
WFKnight 0:9b3d4731edbb 22
WFKnight 0:9b3d4731edbb 23 # Insert a space after if, while, for, and around operators
WFKnight 0:9b3d4731edbb 24 pad-header
WFKnight 0:9b3d4731edbb 25 pad-oper
WFKnight 0:9b3d4731edbb 26
WFKnight 0:9b3d4731edbb 27 # Pointer/reference operators go next to the name (on the right)
WFKnight 0:9b3d4731edbb 28 align-pointer=name
WFKnight 0:9b3d4731edbb 29 align-reference=name
WFKnight 0:9b3d4731edbb 30
WFKnight 0:9b3d4731edbb 31 # Attach { for classes and namespaces
WFKnight 0:9b3d4731edbb 32 attach-namespaces
WFKnight 0:9b3d4731edbb 33 attach-classes
WFKnight 0:9b3d4731edbb 34
WFKnight 0:9b3d4731edbb 35 # Extend longer lines, define maximum 120 value. This results in aligned code,
WFKnight 0:9b3d4731edbb 36 # otherwise the lines are broken and not consistent
WFKnight 0:9b3d4731edbb 37 max-continuation-indent=120