diff options
author | unknown <itsaferbie@gmail.com> | 2017-08-26 13:54:17 -0400 |
---|---|---|
committer | Jack Humbert <jack.humb@gmail.com> | 2017-08-26 23:31:47 -0400 |
commit | 78ab926cc8e2cda53f177eba586053b42797d341 (patch) | |
tree | 7f3d6161180d2959e999094c1093c959c29cfc67 /keyboards/deltasplit75/split_util.c | |
parent | b28982e329c790d42369d0669b55128eb89a62f4 (diff) | |
download | qmk_firmware-78ab926cc8e2cda53f177eba586053b42797d341.tar.gz qmk_firmware-78ab926cc8e2cda53f177eba586053b42797d341.zip |
Updated my files and added debouncing
Diffstat (limited to 'keyboards/deltasplit75/split_util.c')
-rw-r--r-- | keyboards/deltasplit75/split_util.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/keyboards/deltasplit75/split_util.c b/keyboards/deltasplit75/split_util.c index 226dc18816..346cbc9089 100644 --- a/keyboards/deltasplit75/split_util.c +++ b/keyboards/deltasplit75/split_util.c @@ -8,6 +8,7 @@ #include "matrix.h" #include "keyboard.h" #include "config.h" +#include "timer.h" #ifdef USE_I2C # include "i2c.h" @@ -21,7 +22,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 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 @@ -33,12 +34,16 @@ 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 } static void keyboard_slave_setup(void) { + timer_init(); #ifdef USE_I2C i2c_slave_init(SLAVE_I2C_ADDRESS); #else |