summaryrefslogtreecommitdiff
path: root/keyboards/planck/planck.h
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/planck/planck.h
parent971d36bb9ea37962c57733e5f7c0c24e5a6cebeb (diff)
downloadqmk_firmware-41c50bb653b840c595fb31541729d892f68666e6.tar.gz
qmk_firmware-41c50bb653b840c595fb31541729d892f68666e6.zip
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/planck/planck.h')
-rw-r--r--keyboards/planck/planck.h23
1 files changed, 10 insertions, 13 deletions
diff --git a/keyboards/planck/planck.h b/keyboards/planck/planck.h
index 31e3ec9158..be33bf253b 100644
--- a/keyboards/planck/planck.h
+++ b/keyboards/planck/planck.h
@@ -1,26 +1,23 @@
-#ifndef PLANCK_H
-#define PLANCK_H
+#pragma once
#include "quantum.h"
#if defined(KEYBOARD_planck_ez)
- #include "ez.h"
+# include "ez.h"
#elif defined(KEYBOARD_planck_light)
- #include "light.h"
+# include "light.h"
#elif defined(KEYBOARD_planck_thk)
- #include "thk.h"
+# include "thk.h"
#elif defined(KEYBOARD_planck_rev1)
- #include "rev1.h"
+# include "rev1.h"
#elif defined(KEYBOARD_planck_rev2)
- #include "rev2.h"
+# include "rev2.h"
#elif defined(KEYBOARD_planck_rev3)
- #include "rev3.h"
+# include "rev3.h"
#elif defined(KEYBOARD_planck_rev4)
- #include "rev4.h"
+# include "rev4.h"
#elif defined(KEYBOARD_planck_rev5)
- #include "rev5.h"
+# include "rev5.h"
#elif defined(KEYBOARD_planck_rev6)
- #include "rev6.h"
-#endif // Planck revisions
-
+# include "rev6.h"
#endif