diff options
-rw-r--r-- | keyboards/ai03/orbit/split_util.c | 2 | ||||
-rw-r--r-- | keyboards/ai03/orbit/transport.c | 2 | ||||
-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 |
5 files changed, 5 insertions, 5 deletions
diff --git a/keyboards/ai03/orbit/split_util.c b/keyboards/ai03/orbit/split_util.c index 5095cb8fdc..a83ff5bc67 100644 --- a/keyboards/ai03/orbit/split_util.c +++ b/keyboards/ai03/orbit/split_util.c @@ -54,7 +54,7 @@ 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/keyboards/ai03/orbit/transport.c b/keyboards/ai03/orbit/transport.c index adedf24322..447fafed14 100644 --- a/keyboards/ai03/orbit/transport.c +++ b/keyboards/ai03/orbit/transport.c @@ -18,7 +18,7 @@ extern backlight_config_t backlight_config; #endif -#if defined(USE_I2C) || defined(EH) +#if defined(USE_I2C) #include "i2c.h" 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" |