forked from mirrors/qmk_firmware
[Docs] Fix incorrect spacing on Coding Conventions page (#7058)
This commit is contained in:
parent
de5cadd636
commit
22cc56bc97
1 changed files with 7 additions and 7 deletions
|
@ -31,17 +31,17 @@ Here is an example for easy reference:
|
||||||
```c
|
```c
|
||||||
/* Enums for foo */
|
/* Enums for foo */
|
||||||
enum foo_state {
|
enum foo_state {
|
||||||
FOO_BAR,
|
FOO_BAR,
|
||||||
FOO_BAZ,
|
FOO_BAZ,
|
||||||
};
|
};
|
||||||
|
|
||||||
/* Returns a value */
|
/* Returns a value */
|
||||||
int foo(void) {
|
int foo(void) {
|
||||||
if (some_condition) {
|
if (some_condition) {
|
||||||
return FOO_BAR;
|
return FOO_BAR;
|
||||||
} else {
|
} else {
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue