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/bthlabs/geekpad/geekpad.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/bthlabs/geekpad/geekpad.h')
-rw-r--r-- | keyboards/bthlabs/geekpad/geekpad.h | 21 |
1 files changed, 9 insertions, 12 deletions
diff --git a/keyboards/bthlabs/geekpad/geekpad.h b/keyboards/bthlabs/geekpad/geekpad.h index c9f1ac9d4..4dc6800fe 100644 --- a/keyboards/bthlabs/geekpad/geekpad.h +++ b/keyboards/bthlabs/geekpad/geekpad.h | |||
@@ -13,8 +13,8 @@ | |||
13 | * You should have received a copy of the GNU General Public License | 13 | * You should have received a copy of the GNU General Public License |
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 | #ifndef GEEKPAD_H | 16 | |
17 | #define GEEKPAD_H | 17 | #pragma once |
18 | 18 | ||
19 | #include "quantum.h" | 19 | #include "quantum.h" |
20 | 20 | ||
@@ -27,14 +27,11 @@ | |||
27 | * represents the switch matrix. | 27 | * represents the switch matrix. |
28 | */ | 28 | */ |
29 | #define LAYOUT( \ | 29 | #define LAYOUT( \ |
30 | K00, K01, K02, \ | 30 | k00, k01, k02, \ |
31 | K10, K11, K12, \ | 31 | k10, k11, k12, \ |
32 | K20, K21, K22 \ | 32 | k20, k21, k22 \ |
33 | ) \ | 33 | ) { \ |
34 | { \ | 34 | { k00, k01, k02 }, \ |
35 | { K00, K01, K02 }, \ | 35 | { k10, k11, k12 }, \ |
36 | { K10, K11, K12 }, \ | 36 | { k20, k21, k22 } \ |
37 | { K20, K21, K22 } \ | ||
38 | } | 37 | } |
39 | |||
40 | #endif | ||