commit 03d0182541dec8cf85eb1817bd5e3255a7684648
parent c2e5953bc1a59fbb74bcfb13552d3b3e270872cf
Author: James Young <18669334+noroadsleft@users.noreply.github.com>
Date: Tue, 21 Jun 2022 05:22:53 -0700
alt34 rev1: Configurator Compilation Fix (#17442)
* move USE_I2C and EE_HANDS definitions to keyboard level
Allow this keyboard to be compiled by QMK Configurator.
* remove redundant DEFAULT_FOLDER rule
Diffstat:
3 files changed, 9 insertions(+), 28 deletions(-)
diff --git a/keyboards/alt34/keymaps/default/config.h b/keyboards/alt34/keymaps/default/config.h
@@ -1,27 +0,0 @@
-/*
-Copyright 2022 Tommy Alatalo <@altosys>
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU General Public License as published by
-the Free Software Foundation, either version 2 of the License, or
-(at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU General Public License for more details.
-
-You should have received a copy of the GNU General Public License
-along with this program. If not, see <http://www.gnu.org/licenses/>.
-*/
-
-#pragma once
-
-/* Use I2C or Serial, not both */
-#define USE_I2C
-/* #define USE_SERIAL */
-
-/* Select hand configuration */
-#define EE_HANDS
-/* #define MASTER_LEFT */
-/* #define MASTER_RIGHT */
diff --git a/keyboards/alt34/rev1/config.h b/keyboards/alt34/rev1/config.h
@@ -44,3 +44,12 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define LOCKING_SUPPORT_ENABLE
/* Locking resynchronize hack */
#define LOCKING_RESYNC_ENABLE
+
+/* Use I2C or Serial, not both */
+#define USE_I2C
+// #define USE_SERIAL
+
+/* Select hand configuration */
+#define EE_HANDS
+/* #define MASTER_LEFT */
+/* #define MASTER_RIGHT */
diff --git a/keyboards/alt34/rev1/rules.mk b/keyboards/alt34/rev1/rules.mk
@@ -19,4 +19,3 @@ AUDIO_ENABLE = no # Audio output
SPLIT_KEYBOARD = yes
LAYOUTS = split_3x5_2
-DEFAULT_FOLDER = alt34/rev1