summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDrashna Jaelre <drashna@live.com>2018-02-16 18:00:39 +0100
committerJack Humbert <jack.humb@gmail.com>2018-02-16 18:00:39 +0100
commitb0e8de1c977dba81508e1f756c6659a0a3b2ab95 (patch)
tree0b0d5936014bbcba1a7f5f5b19ed25f282eaab81
parent1af8f1f201ab9a7f8d749e240f9da278974357ba (diff)
downloadqmk_firmware-b0e8de1c977dba81508e1f756c6659a0a3b2ab95.tar.gz
qmk_firmware-b0e8de1c977dba81508e1f756c6659a0a3b2ab95.tar.xz
Fix EE HANDS on splits losing handedness if RGB is enabled (#2399)
* Fix EE HANDS on splits losing handedness if RGB is enabled * Because I'm an idiot and did a bad cut/paste job
-rw-r--r--keyboards/deltasplit75/split_util.h5
-rw-r--r--keyboards/helix/rev1/split_util.h6
-rw-r--r--keyboards/helix/rev2/split_util.h6
-rw-r--r--keyboards/nyquist/split_util.h6
-rw-r--r--keyboards/orthodox/split_util.h5
-rw-r--r--keyboards/viterbi/split_util.h5
6 files changed, 6 insertions, 27 deletions
diff --git a/keyboards/deltasplit75/split_util.h b/keyboards/deltasplit75/split_util.h
index 6b896679c..1c9235213 100644
--- a/keyboards/deltasplit75/split_util.h
+++ b/keyboards/deltasplit75/split_util.h
@@ -2,11 +2,8 @@
#define SPLIT_KEYBOARD_UTIL_H
#include <stdbool.h>
+#include "eeconfig.h"
-#ifdef EE_HANDS
- #define EECONFIG_BOOTMAGIC_END (uint8_t *)10
- #define EECONFIG_HANDEDNESS EECONFIG_BOOTMAGIC_END
-#endif
#define SLAVE_I2C_ADDRESS 0x32
diff --git a/keyboards/helix/rev1/split_util.h b/keyboards/helix/rev1/split_util.h
index 3ae76c209..595a0659e 100644
--- a/keyboards/helix/rev1/split_util.h
+++ b/keyboards/helix/rev1/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/keyboards/helix/rev2/split_util.h b/keyboards/helix/rev2/split_util.h
index 757e934c7..687ca19bd 100644
--- a/keyboards/helix/rev2/split_util.h
+++ b/keyboards/helix/rev2/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/keyboards/nyquist/split_util.h b/keyboards/nyquist/split_util.h
index 3ae76c209..595a0659e 100644
--- a/keyboards/nyquist/split_util.h
+++ b/keyboards/nyquist/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/keyboards/orthodox/split_util.h b/keyboards/orthodox/split_util.h
index 3ae76c209..a0a8dd3bf 100644
--- a/keyboards/orthodox/split_util.h
+++ b/keyboards/orthodox/split_util.h
@@ -2,11 +2,8 @@
#define SPLIT_KEYBOARD_UTIL_H
#include <stdbool.h>
+#include "eeconfig.h"
-#ifdef EE_HANDS
- #define EECONFIG_BOOTMAGIC_END (uint8_t *)10
- #define EECONFIG_HANDEDNESS EECONFIG_BOOTMAGIC_END
-#endif
#define SLAVE_I2C_ADDRESS 0x32
diff --git a/keyboards/viterbi/split_util.h b/keyboards/viterbi/split_util.h
index 3ae76c209..a0a8dd3bf 100644
--- a/keyboards/viterbi/split_util.h
+++ b/keyboards/viterbi/split_util.h
@@ -2,11 +2,8 @@
#define SPLIT_KEYBOARD_UTIL_H
#include <stdbool.h>
+#include "eeconfig.h"
-#ifdef EE_HANDS
- #define EECONFIG_BOOTMAGIC_END (uint8_t *)10
- #define EECONFIG_HANDEDNESS EECONFIG_BOOTMAGIC_END
-#endif
#define SLAVE_I2C_ADDRESS 0x32