summaryrefslogtreecommitdiffstats
path: root/keyboards/launchpad/rev1
diff options
context:
space:
mode:
authorRyan <fauxpark@gmail.com>2021-09-01 19:03:14 +1000
committerGitHub <noreply@github.com>2021-09-01 19:03:14 +1000
commit41c50bb653b840c595fb31541729d892f68666e6 (patch)
treeba05c7c9654f7be1104b20f3195dd2cf288e004e /keyboards/launchpad/rev1
parent971d36bb9ea37962c57733e5f7c0c24e5a6cebeb (diff)
Change keyboard level include guards to `pragma once` (#14248)
* Change keyboard level include guards to `pragma once` And clean up a lot of layout macros * Oops * Remove dangling endif
Diffstat (limited to 'keyboards/launchpad/rev1')
-rw-r--r--keyboards/launchpad/rev1/rev1.h26
1 files changed, 11 insertions, 15 deletions
diff --git a/keyboards/launchpad/rev1/rev1.h b/keyboards/launchpad/rev1/rev1.h
index 6644db8300..2ea6e7e775 100644
--- a/keyboards/launchpad/rev1/rev1.h
+++ b/keyboards/launchpad/rev1/rev1.h
@@ -1,21 +1,17 @@
-#ifndef REV1_H
-#define REV1_H
+#pragma once
#include "../launchpad.h"
#include "quantum.h"
#define LAYOUT( \
- K00, K01, \
- K10, K11, \
- K20, K21, \
- K30, K31 \
- ) \
- { \
- { K00, K01 }, \
- { K10, K11 }, \
- { K20, K21 }, \
- { K30, K31 } \
- }
-
-#endif
+ k00, k01, \
+ k10, k11, \
+ k20, k21, \
+ k30, k31 \
+) { \
+ { k00, k01 }, \
+ { k10, k11 }, \
+ { k20, k21 }, \
+ { k30, k31 } \
+}