1
0
Fork 0

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
This commit is contained in:
Ryan 2021-09-01 19:03:14 +10:00 committed by GitHub
parent 971d36bb9e
commit 41c50bb653
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
308 changed files with 3520 additions and 4568 deletions

View file

@ -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 } \
}