]> git.donarmstrong.com Git - qmk_firmware.git/commitdiff
Remove check for EH define (#7525)
authorDanny <nooges@users.noreply.github.com>
Mon, 2 Dec 2019 17:10:09 +0000 (12:10 -0500)
committerJoel Challis <git@zvecr.com>
Mon, 2 Dec 2019 17:10:09 +0000 (17:10 +0000)
Its use in lets_split_eh was factored out in https://github.com/qmk/qmk_firmware/pull/6411

keyboards/ai03/orbit/split_util.c
keyboards/ai03/orbit/transport.c
quantum/split_common/post_config.h
quantum/split_common/split_util.c
quantum/split_common/transport.c

index 5095cb8fdce18a72cbfae1411dc2b62aa03c7bce..a83ff5bc67ecae60215008829e9161c2f9902654 100644 (file)
@@ -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
index adedf2432205b97ada456626cd05713107dc7e20..447fafed14422fd748b4c26648fda13b6c30c79e 100644 (file)
@@ -18,7 +18,7 @@
   extern backlight_config_t backlight_config;
 #endif
 
-#if defined(USE_I2C) || defined(EH)
+#if defined(USE_I2C)
 
 #include "i2c.h"
 
index 5c0b414fb380a65f1d244548da1adc3e6deadb67..4ae1d527327ced89a49b84371ab1953e77cec7ac 100644 (file)
@@ -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
index 5c548de059e8d53a2e36e6149a15134a39979e56..9366c3297a3774bafd5545c39fb7bfdfb0df24fc 100644 (file)
@@ -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
index 3c783dc568fe1505e97821282c26705704ec83a6..ab421adc4a48883e32667a4f15e2ae6196d16f08 100644 (file)
@@ -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"