diff options
| author | That-Canadian <poole.chris.11@gmail.com> | 2017-07-14 21:24:58 -0400 |
|---|---|---|
| committer | That-Canadian <poole.chris.11@gmail.com> | 2017-07-14 21:24:58 -0400 |
| commit | 21b63d924327ac404b8592d3c07b3695eb3e235f (patch) | |
| tree | 7a0d3c22652f28cc18b84c27999f2d0a04ee2d70 /keyboards/minidox/split_util.c | |
| parent | d73d30aa846f4378b8f1fa072a4620520b3c1953 (diff) | |
| download | qmk_firmware-21b63d924327ac404b8592d3c07b3695eb3e235f.tar.gz qmk_firmware-21b63d924327ac404b8592d3c07b3695eb3e235f.zip | |
Updated i2c and serial files to most recent from the lets split firmware. Also updated that_canadian keymap
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 461921798..39639c3b4 100644 --- a/keyboards/minidox/split_util.c +++ b/keyboards/minidox/split_util.c | |||
| @@ -21,7 +21,8 @@ static void setup_handedness(void) { | |||
| 21 | #ifdef EE_HANDS | 21 | #ifdef EE_HANDS |
| 22 | isLeftHand = eeprom_read_byte(EECONFIG_HANDEDNESS); | 22 | isLeftHand = eeprom_read_byte(EECONFIG_HANDEDNESS); |
| 23 | #else | 23 | #else |
| 24 | #ifdef I2C_MASTER_RIGHT | 24 | // I2C_MASTER_RIGHT is deprecated, use MASTER_RIGHT instead, since this works for both serial and i2c |
| 25 | #if defined(I2C_MASTER_RIGHT) || defined(MASTER_RIGHT) | ||
| 25 | isLeftHand = !has_usb(); | 26 | isLeftHand = !has_usb(); |
| 26 | #else | 27 | #else |
| 27 | isLeftHand = has_usb(); | 28 | isLeftHand = has_usb(); |
| @@ -32,6 +33,9 @@ static void setup_handedness(void) { | |||
| 32 | static void keyboard_master_setup(void) { | 33 | static void keyboard_master_setup(void) { |
| 33 | #ifdef USE_I2C | 34 | #ifdef USE_I2C |
| 34 | i2c_master_init(); | 35 | i2c_master_init(); |
| 36 | #ifdef SSD1306OLED | ||
| 37 | matrix_master_OLED_init (); | ||
| 38 | #endif | ||
| 35 | #else | 39 | #else |
| 36 | serial_master_init(); | 40 | serial_master_init(); |
| 37 | #endif | 41 | #endif |
