From 26650731d1825d8ca8c5e96d10a80bc8cd7b78e4 Mon Sep 17 00:00:00 2001 From: That-Canadian Date: Sun, 13 Aug 2017 14:24:04 -0400 Subject: [PATCH] Added "EECONFIG_HANDEDNESS" to the eeconfig.h , because when RGB was enabled it was overwritting the old EECONFIG_HANDEDNESS address (10), so it is now on a non-conflicting addres (14). Updated MiniDox split_util.h and eeprom files to reflect this change. I recommend adding this to any split board that used these files, my changes will not effect them currently. --- keyboards/minidox/eeprom-lefthand.eep | Bin 48 -> 56 bytes keyboards/minidox/eeprom-righthand.eep | Bin 48 -> 56 bytes keyboards/minidox/split_util.h | 6 +----- tmk_core/common/eeconfig.h | 2 ++ 4 files changed, 3 insertions(+), 5 deletions(-) diff --git a/keyboards/minidox/eeprom-lefthand.eep b/keyboards/minidox/eeprom-lefthand.eep index b9666a74c01f0481a2bb9ea3d8905dbc8cdcf9a9..e5a7bc1e5726e69f23e046982c7fd9870760ea8c 100644 GIT binary patch literal 56 ZcmcCAa5Eqb4BZTPxvZe-4Bgy#xd1SC3S9sI literal 48 ZcmcCAa5BIR4Bbq4xvZe_hHh@WTmaxG2;Bex diff --git a/keyboards/minidox/eeprom-righthand.eep b/keyboards/minidox/eeprom-righthand.eep index 94cc5be7fc684ef07d8412e5296e3708bc44a27d..7ea44f52ef742a2d0cc54906ffca9fce50ac7b6c 100644 GIT binary patch literal 56 ZcmcCAa5EqRxEb0N^GF-2eap diff --git a/keyboards/minidox/split_util.h b/keyboards/minidox/split_util.h index 3ae76c209..595a0659e 100644 --- a/keyboards/minidox/split_util.h +++ b/keyboards/minidox/split_util.h @@ -2,11 +2,7 @@ #define SPLIT_KEYBOARD_UTIL_H #include - -#ifdef EE_HANDS - #define EECONFIG_BOOTMAGIC_END (uint8_t *)10 - #define EECONFIG_HANDEDNESS EECONFIG_BOOTMAGIC_END -#endif +#include "eeconfig.h" #define SLAVE_I2C_ADDRESS 0x32 diff --git a/tmk_core/common/eeconfig.h b/tmk_core/common/eeconfig.h index ce60ca866..1397a90c7 100644 --- a/tmk_core/common/eeconfig.h +++ b/tmk_core/common/eeconfig.h @@ -35,6 +35,8 @@ along with this program. If not, see . #define EECONFIG_RGBLIGHT (uint32_t *)8 #define EECONFIG_UNICODEMODE (uint8_t *)12 #define EECONFIG_STENOMODE (uint8_t *)13 +// EEHANDS for two handed boards +#define EECONFIG_HANDEDNESS (uint8_t *)14 /* debug bit */