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) | |
| download | qmk_firmware-bf962821b383b94813c3c7ebae7782c28398f1cf.tar.gz qmk_firmware-bf962821b383b94813c3c7ebae7782c28398f1cf.zip | |
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 5c0b414fb..4ae1d5273 100644 --- a/quantum/split_common/post_config.h +++ b/quantum/split_common/post_config.h | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | #if defined(USE_I2C) || defined(EH) | 1 | #if defined(USE_I2C) |
| 2 | // When using I2C, using rgblight implicitly involves split support. | 2 | // When using I2C, using rgblight implicitly involves split support. |
| 3 | # if defined(RGBLIGHT_ENABLE) && !defined(RGBLIGHT_SPLIT) | 3 | # if defined(RGBLIGHT_ENABLE) && !defined(RGBLIGHT_SPLIT) |
| 4 | # define RGBLIGHT_SPLIT | 4 | # define RGBLIGHT_SPLIT |
diff --git a/quantum/split_common/split_util.c b/quantum/split_common/split_util.c index 5c548de05..9366c3297 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) { | |||
| 76 | } | 76 | } |
| 77 | 77 | ||
| 78 | static void keyboard_master_setup(void) { | 78 | static void keyboard_master_setup(void) { |
| 79 | #if defined(USE_I2C) || defined(EH) | 79 | #if defined(USE_I2C) |
| 80 | # ifdef SSD1306OLED | 80 | # ifdef SSD1306OLED |
| 81 | matrix_master_OLED_init(); | 81 | matrix_master_OLED_init(); |
| 82 | # endif | 82 | # endif |
diff --git a/quantum/split_common/transport.c b/quantum/split_common/transport.c index 3c783dc56..ab421adc4 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; | |||
| 21 | # define NUMBER_OF_ENCODERS (sizeof(encoders_pad) / sizeof(pin_t)) | 21 | # define NUMBER_OF_ENCODERS (sizeof(encoders_pad) / sizeof(pin_t)) |
| 22 | #endif | 22 | #endif |
| 23 | 23 | ||
| 24 | #if defined(USE_I2C) || defined(EH) | 24 | #if defined(USE_I2C) |
| 25 | 25 | ||
| 26 | # include "i2c_master.h" | 26 | # include "i2c_master.h" |
| 27 | # include "i2c_slave.h" | 27 | # include "i2c_slave.h" |
