~ruther/qmk_firmware

03d0182541dec8cf85eb1817bd5e3255a7684648 — James Young 3 years ago c2e5953
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
3 files changed, 9 insertions(+), 28 deletions(-)

D keyboards/alt34/keymaps/default/config.h
M keyboards/alt34/rev1/config.h
M keyboards/alt34/rev1/rules.mk
D keyboards/alt34/keymaps/default/config.h => keyboards/alt34/keymaps/default/config.h +0 -27
@@ 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 */

M keyboards/alt34/rev1/config.h => keyboards/alt34/rev1/config.h +9 -0
@@ 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 */

M keyboards/alt34/rev1/rules.mk => keyboards/alt34/rev1/rules.mk +0 -1
@@ 19,4 19,3 @@ AUDIO_ENABLE = no           # Audio output

SPLIT_KEYBOARD = yes
LAYOUTS = split_3x5_2
DEFAULT_FOLDER = alt34/rev1