summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThat-Canadian <poole.chris.11@gmail.com>2017-08-13 20:24:04 +0200
committerThat-Canadian <poole.chris.11@gmail.com>2017-08-13 20:24:04 +0200
commit26650731d1825d8ca8c5e96d10a80bc8cd7b78e4 (patch)
treeb7fadb5dfcc560edee4de0255df0627125eabb0f
parent1631f7cd798dcf428404977e441d7e5b65fe81ce (diff)
downloadqmk_firmware-26650731d1825d8ca8c5e96d10a80bc8cd7b78e4.tar.gz
qmk_firmware-26650731d1825d8ca8c5e96d10a80bc8cd7b78e4.tar.xz
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.
-rw-r--r--keyboards/minidox/eeprom-lefthand.eep2
-rw-r--r--keyboards/minidox/eeprom-righthand.eep2
-rw-r--r--keyboards/minidox/split_util.h6
-rw-r--r--tmk_core/common/eeconfig.h2
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 <stdbool.h>
-
-#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 <http://www.gnu.org/licenses/>.
#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 */