commit b0e8de1c977dba81508e1f756c6659a0a3b2ab95
parent 1af8f1f201ab9a7f8d749e240f9da278974357ba
Author: Drashna Jaelre <drashna@live.com>
Date: Fri, 16 Feb 2018 09:00:39 -0800
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
Diffstat:
6 files changed, 6 insertions(+), 27 deletions(-)
diff --git 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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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