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
308 changed files with 3520 additions and 4568 deletions
+4 -6
View File
@@ -13,8 +13,8 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef NAMECARD2X4_H
#define NAMECARD2X4_H
#pragma once
#include "quantum.h"
@@ -24,10 +24,8 @@
// The second converts the arguments into a two-dimensional array
#define LAYOUT( \
k00, k01, k02, k03, \
k10, k11, k12, k13 \
k10, k11, k12, k13 \
) { \
{ k00, k01, k02, k03 }, \
{ k10, k11, k12, k13 }, \
{ k10, k11, k12, k13 } \
}
#endif