From b0e8de1c977dba81508e1f756c6659a0a3b2ab95 Mon Sep 17 00:00:00 2001 From: Drashna Jaelre Date: Fri, 16 Feb 2018 09:00:39 -0800 Subject: [PATCH] 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 --- keyboards/deltasplit75/split_util.h | 5 +---- keyboards/helix/rev1/split_util.h | 6 +----- keyboards/helix/rev2/split_util.h | 6 +----- keyboards/nyquist/split_util.h | 6 +----- keyboards/orthodox/split_util.h | 5 +---- keyboards/viterbi/split_util.h | 5 +---- 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 +#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 - -#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 - -#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 - -#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 +#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 +#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