diff options
author | That-Canadian <poole.chris.11@gmail.com> | 2017-08-13 14:24:04 -0400 |
---|---|---|
committer | That-Canadian <poole.chris.11@gmail.com> | 2017-08-13 14:24:04 -0400 |
commit | 26650731d1825d8ca8c5e96d10a80bc8cd7b78e4 (patch) | |
tree | b7fadb5dfcc560edee4de0255df0627125eabb0f | |
parent | 1631f7cd798dcf428404977e441d7e5b65fe81ce (diff) | |
download | qmk_firmware-26650731d1825d8ca8c5e96d10a80bc8cd7b78e4.tar.gz qmk_firmware-26650731d1825d8ca8c5e96d10a80bc8cd7b78e4.zip |
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.eep | 2 | ||||
-rw-r--r-- | keyboards/minidox/eeprom-righthand.eep | 2 | ||||
-rw-r--r-- | keyboards/minidox/split_util.h | 6 | ||||
-rw-r--r-- | 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 @@ | |||
1 | :0B0000000000000000000000000001F4 | 1 | :0F000000000000000000000000000000000001F0 |
2 | :00000001FF | 2 | :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 @@ | |||
1 | :0B0000000000000000000000000000F5 | 1 | :0F000000000000000000000000000000000000F1 |
2 | :00000001FF | 2 | :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 @@ | |||
2 | #define SPLIT_KEYBOARD_UTIL_H | 2 | #define SPLIT_KEYBOARD_UTIL_H |
3 | 3 | ||
4 | #include <stdbool.h> | 4 | #include <stdbool.h> |
5 | 5 | #include "eeconfig.h" | |
6 | #ifdef EE_HANDS | ||
7 | #define EECONFIG_BOOTMAGIC_END (uint8_t *)10 | ||
8 | #define EECONFIG_HANDEDNESS EECONFIG_BOOTMAGIC_END | ||
9 | #endif | ||
10 | 6 | ||
11 | #define SLAVE_I2C_ADDRESS 0x32 | 7 | #define SLAVE_I2C_ADDRESS 0x32 |
12 | 8 | ||
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/>. | |||
35 | #define EECONFIG_RGBLIGHT (uint32_t *)8 | 35 | #define EECONFIG_RGBLIGHT (uint32_t *)8 |
36 | #define EECONFIG_UNICODEMODE (uint8_t *)12 | 36 | #define EECONFIG_UNICODEMODE (uint8_t *)12 |
37 | #define EECONFIG_STENOMODE (uint8_t *)13 | 37 | #define EECONFIG_STENOMODE (uint8_t *)13 |
38 | // EEHANDS for two handed boards | ||
39 | #define EECONFIG_HANDEDNESS (uint8_t *)14 | ||
38 | 40 | ||
39 | 41 | ||
40 | /* debug bit */ | 42 | /* debug bit */ |