diff --git a/keyboards/lets_split/config.h b/keyboards/lets_split/config.h index 6d725424238..c910d8f24f0 100644 --- a/keyboards/lets_split/config.h +++ b/keyboards/lets_split/config.h @@ -21,14 +21,4 @@ along with this program. If not, see . #include "config_common.h" -#ifdef SUBPROJECT_rev1 - #include "rev1/config.h" -#endif -#ifdef SUBPROJECT_rev2 - #include "rev2/config.h" -#endif -#ifdef SUBPROJECT_sockets - #include "sockets/config.h" -#endif - #endif diff --git a/keyboards/lets_split/keymaps/DE_simple/Makefile b/keyboards/lets_split/keymaps/DE_simple/Makefile deleted file mode 100644 index 457a3d01d4a..00000000000 --- a/keyboards/lets_split/keymaps/DE_simple/Makefile +++ /dev/null @@ -1,3 +0,0 @@ -ifndef QUANTUM_DIR - include ../../../../Makefile -endif diff --git a/keyboards/lets_split/keymaps/DE_simple/keymap.c b/keyboards/lets_split/keymaps/DE_simple/keymap.c index a2c6b22b820..e3cb310d1e3 100644 --- a/keyboards/lets_split/keymaps/DE_simple/keymap.c +++ b/keyboards/lets_split/keymaps/DE_simple/keymap.c @@ -103,7 +103,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { }; #ifdef AUDIO_ENABLE -float tone_qwertz[][2] = SONG(QWERTZ_SOUND); +float tone_qwertz[][2] = SONG(QWERTY_SOUND); float tone_dvorak[][2] = SONG(DVORAK_SOUND); float tone_colemak[][2] = SONG(COLEMAK_SOUND); #endif diff --git a/keyboards/lets_split/keymaps/DE_simple/rules.mk b/keyboards/lets_split/keymaps/DE_simple/rules.mk index 457a3d01d4a..e69de29bb2d 100644 --- a/keyboards/lets_split/keymaps/DE_simple/rules.mk +++ b/keyboards/lets_split/keymaps/DE_simple/rules.mk @@ -1,3 +0,0 @@ -ifndef QUANTUM_DIR - include ../../../../Makefile -endif diff --git a/keyboards/lets_split/lets_split.h b/keyboards/lets_split/lets_split.h index 1e2d1b9a663..b2a6e604efa 100644 --- a/keyboards/lets_split/lets_split.h +++ b/keyboards/lets_split/lets_split.h @@ -3,13 +3,11 @@ #include "quantum.h" -#include QMK_KEYBOARD_H - #ifdef KEYBOARD_lets_split_rev1 #include "rev1.h" #elif KEYBOARD_lets_split_rev2 #include "rev2.h" -#else +#elif KEYBOARD_lets_split_sockets #include "sockets.h" #endif diff --git a/keyboards/lets_split/rev1/config.h b/keyboards/lets_split/rev1/config.h index 800d9a7e795..7c128421dd8 100644 --- a/keyboards/lets_split/rev1/config.h +++ b/keyboards/lets_split/rev1/config.h @@ -19,7 +19,7 @@ along with this program. If not, see . #ifndef REV1_CONFIG_H #define REV1_CONFIG_H -#include "../config.h" +#include "config_common.h" /* USB Device descriptor parameter */ #define VENDOR_ID 0xFEED diff --git a/keyboards/lets_split/rev1/rev1.h b/keyboards/lets_split/rev1/rev1.h index 6bf9f0f0386..1d38368fd70 100644 --- a/keyboards/lets_split/rev1/rev1.h +++ b/keyboards/lets_split/rev1/rev1.h @@ -1,7 +1,7 @@ #ifndef REV1_H #define REV1_H -#include "../lets_split.h" +#include "lets_split.h" //void promicro_bootloader_jmp(bool program); #include "quantum.h" diff --git a/keyboards/lets_split/rev2/config.h b/keyboards/lets_split/rev2/config.h index d0619c24895..1f0603d501e 100644 --- a/keyboards/lets_split/rev2/config.h +++ b/keyboards/lets_split/rev2/config.h @@ -19,7 +19,7 @@ along with this program. If not, see . #ifndef REV2_CONFIG_H #define REV2_CONFIG_H -#include "../config.h" +#include "config_common.h" /* USB Device descriptor parameter */ #define VENDOR_ID 0xFEED diff --git a/keyboards/lets_split/rev2/rev2.h b/keyboards/lets_split/rev2/rev2.h index 0bc106ef271..16b93b3d8ac 100644 --- a/keyboards/lets_split/rev2/rev2.h +++ b/keyboards/lets_split/rev2/rev2.h @@ -1,7 +1,7 @@ #ifndef REV2_H #define REV2_H -#include "../lets_split.h" +#include "lets_split.h" //void promicro_bootloader_jmp(bool program); #include "quantum.h" diff --git a/keyboards/lets_split/sockets/config.h b/keyboards/lets_split/sockets/config.h index 438c68f4206..0543e8930d2 100644 --- a/keyboards/lets_split/sockets/config.h +++ b/keyboards/lets_split/sockets/config.h @@ -19,7 +19,7 @@ along with this program. If not, see . #ifndef SOCKETS_CONFIG_H #define SOCKETS_CONFIG_H -#include "../config.h" +#include "config_common.h" /* USB Device descriptor parameter */ #define VENDOR_ID 0xBEE5 diff --git a/keyboards/lets_split/sockets/sockets.h b/keyboards/lets_split/sockets/sockets.h index 0c4e8e7de12..16b93b3d8ac 100644 --- a/keyboards/lets_split/sockets/sockets.h +++ b/keyboards/lets_split/sockets/sockets.h @@ -1,7 +1,7 @@ #ifndef REV2_H #define REV2_H -#include "../lets_split.h" +#include "lets_split.h" //void promicro_bootloader_jmp(bool program); #include "quantum.h" @@ -57,4 +57,6 @@ } #endif +#define LAYOUT_ortho_4x12 KEYMAP + #endif