aboutsummaryrefslogtreecommitdiffstats
path: root/docs/coding_conventions_c.md
diff options
context:
space:
mode:
authorGravatar Drashna Jaelre <drashna@live.com>2019-10-18 16:59:03 -0700
committerGravatar GitHub <noreply@github.com>2019-10-18 16:59:03 -0700
commit22cc56bc975a8fde45fd08a7ed20897cf3a465c8 (patch)
tree66c736998e15ef8aa1e9cdbba937ba5006313d72 /docs/coding_conventions_c.md
parentde5cadd63669119a6ba83757780dc66bb8f2816c (diff)
downloadqmk_firmware-22cc56bc975a8fde45fd08a7ed20897cf3a465c8.tar.gz
[Docs] Fix incorrect spacing on Coding Conventions page (#7058)
Diffstat (limited to 'docs/coding_conventions_c.md')
-rw-r--r--docs/coding_conventions_c.md14
1 files changed, 7 insertions, 7 deletions
diff --git a/docs/coding_conventions_c.md b/docs/coding_conventions_c.md
index cbddedf8b..08994bfbb 100644
--- a/docs/coding_conventions_c.md
+++ b/docs/coding_conventions_c.md
@@ -31,17 +31,17 @@ Here is an example for easy reference:
```c
/* Enums for foo */
enum foo_state {
- FOO_BAR,
- FOO_BAZ,
+ FOO_BAR,
+ FOO_BAZ,
};
/* Returns a value */
int foo(void) {
- if (some_condition) {
- return FOO_BAR;
- } else {
- return -1;
- }
+ if (some_condition) {
+ return FOO_BAR;
+ } else {
+ return -1;
+ }
}
```