summaryrefslogtreecommitdiff
path: root/keyboards/lets_split/split_util.c
diff options
context:
space:
mode:
authorJack Humbert <jack.humb@gmail.com>2017-03-28 09:13:41 -0400
committerGitHub <noreply@github.com>2017-03-28 09:13:41 -0400
commit8a0cf32cf557ce59f6cf81ded80dfa5afbdb61b2 (patch)
tree6f223cfb5dd7b6f0a347d479dd339ca2ec015f20 /keyboards/lets_split/split_util.c
parent0f986a195183b2f1c38d2e607229657282574752 (diff)
parent2573e581a52d88e0722f33e6137e37a018ac0b25 (diff)
Merge pull request #1171 from ishtob/master
SSD1306 I2C OLED display support for let's split
Diffstat (limited to 'keyboards/lets_split/split_util.c')
-rw-r--r--keyboards/lets_split/split_util.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/keyboards/lets_split/split_util.c b/keyboards/lets_split/split_util.c
index 226dc18816..46586fbc00 100644
--- a/keyboards/lets_split/split_util.c
+++ b/keyboards/lets_split/split_util.c
@@ -21,7 +21,7 @@ static void setup_handedness(void) {
#ifdef EE_HANDS
isLeftHand = eeprom_read_byte(EECONFIG_HANDEDNESS);
#else
- // I2C_MASTER_RIGHT is deprecated use MASTER_RIGHT instead since this works for both serial and i2c
+ // I2c_MASTER_RIGHT ish deprecate use MASTER_RIGHT instead since this works for both serial and i2c:
#if defined(I2C_MASTER_RIGHT) || defined(MASTER_RIGHT)
isLeftHand = !has_usb();
#else
@@ -33,6 +33,9 @@ static void setup_handedness(void) {
static void keyboard_master_setup(void) {
#ifdef USE_I2C
i2c_master_init();
+#ifdef SSD1306OLED
+ matrix_master_OLED_init ();
+#endif
#else
serial_master_init();
#endif