~ruther/qmk_firmware

bf962821b383b94813c3c7ebae7782c28398f1cf — Danny 5 years ago ce5678b
Remove check for EH define (#7525)

Its use in lets_split_eh was factored out in https://github.com/qmk/qmk_firmware/pull/6411
M keyboards/ai03/orbit/split_util.c => keyboards/ai03/orbit/split_util.c +1 -1
@@ 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

M keyboards/ai03/orbit/transport.c => keyboards/ai03/orbit/transport.c +1 -1
@@ 18,7 18,7 @@
  extern backlight_config_t backlight_config;
#endif

#if defined(USE_I2C) || defined(EH)
#if defined(USE_I2C)

#include "i2c.h"


M quantum/split_common/post_config.h => quantum/split_common/post_config.h +1 -1
@@ 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

M quantum/split_common/split_util.c => quantum/split_common/split_util.c +1 -1
@@ 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

M quantum/split_common/transport.c => quantum/split_common/transport.c +1 -1
@@ 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"