diff options
author | Ryan <fauxpark@gmail.com> | 2021-09-01 19:03:14 +1000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-09-01 19:03:14 +1000 |
commit | 41c50bb653b840c595fb31541729d892f68666e6 (patch) | |
tree | ba05c7c9654f7be1104b20f3195dd2cf288e004e /keyboards/mechmini/mechmini.h | |
parent | 971d36bb9ea37962c57733e5f7c0c24e5a6cebeb (diff) | |
download | qmk_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/mechmini/mechmini.h')
-rw-r--r-- | keyboards/mechmini/mechmini.h | 15 |
1 files changed, 5 insertions, 10 deletions
diff --git a/keyboards/mechmini/mechmini.h b/keyboards/mechmini/mechmini.h index 637021cd2..cbd405285 100644 --- a/keyboards/mechmini/mechmini.h +++ b/keyboards/mechmini/mechmini.h | |||
@@ -14,17 +14,12 @@ | |||
14 | * along with this program. If not, see <http://www.gnu.org/licenses/>. | 14 | * along with this program. If not, see <http://www.gnu.org/licenses/>. |
15 | */ | 15 | */ |
16 | 16 | ||
17 | #ifndef MECHMINI_H | 17 | #pragma once |
18 | #define MECHMINI_H | ||
19 | 18 | ||
20 | #include "quantum.h" | 19 | #include "quantum.h" |
21 | 20 | ||
22 | #ifdef KEYBOARD_mechmini_v1 | 21 | #if defined(KEYBOARD_mechmini_v1) |
23 | #include "v1.h" | 22 | # include "v1.h" |
24 | #endif | 23 | #elif defined(KEYBOARD_mechmini_v2) |
25 | 24 | # include "v2.h" | |
26 | #ifdef KEYBOARD_mechmini_v2 | ||
27 | #include "v2.h" | ||
28 | #endif | ||
29 | |||
30 | #endif | 25 | #endif |