Skip to content

Commit

Permalink
Remove check for EH define (qmk#7525)
Browse files Browse the repository at this point in the history
Its use in lets_split_eh was factored out in qmk#6411
  • Loading branch information
nooges authored and zvecr committed Dec 2, 2019
1 parent ce5678b commit bf96282
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion keyboards/ai03/orbit/split_util.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion keyboards/ai03/orbit/transport.c
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
extern backlight_config_t backlight_config;
#endif

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

#include "i2c.h"

Expand Down
2 changes: 1 addition & 1 deletion quantum/split_common/post_config.h
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion quantum/split_common/split_util.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion quantum/split_common/transport.c
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit bf96282

Please sign in to comment.