diff options
author | Danny <nooges@users.noreply.github.com> | 2019-12-02 12:10:09 -0500 |
---|---|---|
committer | Joel Challis <git@zvecr.com> | 2019-12-02 17:10:09 +0000 |
commit | bf962821b383b94813c3c7ebae7782c28398f1cf (patch) | |
tree | 5c5014ad2e21f7febb4d7fb3cb26f3a78f6e3d5b /quantum | |
parent | ce5678b8196d91bfba5d2fde8428ecd884f5e67b (diff) |
Remove check for EH define (#7525)
Its use in lets_split_eh was factored out in https://github.com/qmk/qmk_firmware/pull/6411
Diffstat (limited to 'quantum')
-rw-r--r-- | quantum/split_common/post_config.h | 2 | ||||
-rw-r--r-- | quantum/split_common/split_util.c | 2 | ||||
-rw-r--r-- | quantum/split_common/transport.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/quantum/split_common/post_config.h b/quantum/split_common/post_config.h index 5c0b414fb3..4ae1d52732 100644 --- a/quantum/split_common/post_config.h +++ b/quantum/split_common/post_config.h @@ -1,4 +1,4 @@ -#if defined(USE_I2C) || defined(EH) +#if defined(USE_I2C) // When using I2C, using rgblight implicitly involves split support. # if defined(RGBLIGHT_ENABLE) && !defined(RGBLIGHT_SPLIT) # define RGBLIGHT_SPLIT diff --git a/quantum/split_common/split_util.c b/quantum/split_common/split_util.c index 5c548de059..9366c3297a 100644 --- a/quantum/split_common/split_util.c +++ b/quantum/split_common/split_util.c @@ -76,7 +76,7 @@ __attribute__((weak)) bool is_keyboard_master(void) { } static void keyboard_master_setup(void) { -#if defined(USE_I2C) || defined(EH) +#if defined(USE_I2C) # ifdef SSD1306OLED matrix_master_OLED_init(); # endif diff --git a/quantum/split_common/transport.c b/quantum/split_common/transport.c index 3c783dc568..ab421adc4a 100644 --- a/quantum/split_common/transport.c +++ b/quantum/split_common/transport.c @@ -21,7 +21,7 @@ static pin_t encoders_pad[] = ENCODERS_PAD_A; # define NUMBER_OF_ENCODERS (sizeof(encoders_pad) / sizeof(pin_t)) #endif -#if defined(USE_I2C) || defined(EH) +#if defined(USE_I2C) # include "i2c_master.h" # include "i2c_slave.h" |