summaryrefslogtreecommitdiff
path: root/keyboards/alt34
diff options
context:
space:
mode:
authorJames Young <18669334+noroadsleft@users.noreply.github.com>2022-06-21 05:22:53 -0700
committerGitHub <noreply@github.com>2022-06-21 13:22:53 +0100
commit03d0182541dec8cf85eb1817bd5e3255a7684648 (patch)
tree98cbb06be92a51e6b6a6e9578ed492c05b3e41cb /keyboards/alt34
parentc2e5953bc1a59fbb74bcfb13552d3b3e270872cf (diff)
downloadqmk_firmware-03d0182541dec8cf85eb1817bd5e3255a7684648.tar.gz
qmk_firmware-03d0182541dec8cf85eb1817bd5e3255a7684648.zip
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 (limited to 'keyboards/alt34')
-rw-r--r--keyboards/alt34/keymaps/default/config.h27
-rw-r--r--keyboards/alt34/rev1/config.h9
-rw-r--r--keyboards/alt34/rev1/rules.mk1
3 files changed, 9 insertions, 28 deletions
diff --git a/keyboards/alt34/keymaps/default/config.h b/keyboards/alt34/keymaps/default/config.h
deleted file mode 100644
index da63234575..0000000000
--- a/keyboards/alt34/keymaps/default/config.h
+++ /dev/null
@@ -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
index f599d62935..7ea63954b0 100644
--- 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
index a57c3ad606..e1186febe7 100644
--- 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