diff options
author | Jack Humbert <jack.humb@gmail.com> | 2017-07-14 22:04:18 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-07-14 22:04:18 -0400 |
commit | 7c0610b4117b17b24f9a53c0f9d237175a4a3d25 (patch) | |
tree | 0bf188370d603eeab2d872cf376b8a3e19c664c5 /keyboards/minidox/split_util.c | |
parent | 6ed8ce4f598f838b971aa290a499f852827e1b58 (diff) | |
parent | b6d74b9bb90303f11796b8ccf8b98e2f532351ac (diff) |
Merge pull request #1498 from That-Canadian/minidox
Minidox
Diffstat (limited to 'keyboards/minidox/split_util.c')
-rw-r--r-- | keyboards/minidox/split_util.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/keyboards/minidox/split_util.c b/keyboards/minidox/split_util.c index 461921798f..39639c3b4b 100644 --- a/keyboards/minidox/split_util.c +++ b/keyboards/minidox/split_util.c @@ -21,7 +21,8 @@ static void setup_handedness(void) { #ifdef EE_HANDS isLeftHand = eeprom_read_byte(EECONFIG_HANDEDNESS); #else - #ifdef I2C_MASTER_RIGHT + // I2C_MASTER_RIGHT is deprecated, use MASTER_RIGHT instead, since this works for both serial and i2c + #if defined(I2C_MASTER_RIGHT) || defined(MASTER_RIGHT) isLeftHand = !has_usb(); #else isLeftHand = has_usb(); @@ -32,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 |