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 | 2 +- keyboards/minidox/eeprom-righthand.eep | 2 +- keyboards/minidox/split_util.h | 6 +----- tmk_core/common/eeconfig.h | 2 ++ 4 files changed, 5 insertions(+), 7 deletions(-) diff --git a/keyboards/minidox/eeprom-lefthand.eep b/keyboards/minidox/eeprom-lefthand.eep index b9666a74c..e5a7bc1e5 100644 --- a/keyboards/minidox/eeprom-lefthand.eep +++ b/keyboards/minidox/eeprom-lefthand.eep @@ -1,2 +1,2 @@ -:0B0000000000000000000000000001F4 +:0F000000000000000000000000000000000001F0 :00000001FF diff --git a/keyboards/minidox/eeprom-righthand.eep b/keyboards/minidox/eeprom-righthand.eep index 94cc5be7f..7ea44f52e 100644 --- a/keyboards/minidox/eeprom-righthand.eep +++ b/keyboards/minidox/eeprom-righthand.eep @@ -1,2 +1,2 @@ -:0B0000000000000000000000000000F5 +:0F000000000000000000000000000000000000F1 :00000001FF 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 */