From 03d0182541dec8cf85eb1817bd5e3255a7684648 Mon Sep 17 00:00:00 2001
From: James Young <18669334+noroadsleft@users.noreply.github.com>
Date: Tue, 21 Jun 2022 05:22:53 -0700
Subject: 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
---
keyboards/alt34/keymaps/default/config.h | 27 ---------------------------
keyboards/alt34/rev1/config.h | 9 +++++++++
keyboards/alt34/rev1/rules.mk | 1 -
3 files changed, 9 insertions(+), 28 deletions(-)
delete mode 100644 keyboards/alt34/keymaps/default/config.h
(limited to 'keyboards')
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 .
-*/
-
-#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 .
#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
--
cgit v1.2.3