Create CONTRIBUTING.md
This commit is contained in:
40
CONTRIBUTING.md
Normal file
40
CONTRIBUTING.md
Normal file
@@ -0,0 +1,40 @@
|
||||
# Coding standards
|
||||
|
||||
* 4 spaces are used for tabulation.
|
||||
* Unix line endings are used.
|
||||
* Curlies are always explicitly written.
|
||||
|
||||
## If
|
||||
|
||||
```
|
||||
if (something) {
|
||||
...
|
||||
} else {
|
||||
...
|
||||
}
|
||||
```
|
||||
|
||||
## for
|
||||
|
||||
```
|
||||
for (uint8_t i; i<j; i++) {
|
||||
...
|
||||
}
|
||||
```
|
||||
|
||||
## while
|
||||
|
||||
```
|
||||
while (condition) {
|
||||
...
|
||||
}
|
||||
```
|
||||
|
||||
## function
|
||||
|
||||
```
|
||||
void do_this()
|
||||
{
|
||||
...
|
||||
}
|
||||
```
|
||||
Reference in New Issue
Block a user