diff options
| author | Danny Nguyen <danny@80pct.com> | 2017-08-04 15:32:45 -0400 |
|---|---|---|
| committer | Jack Humbert <jack.humb@gmail.com> | 2017-08-06 20:08:00 -0400 |
| commit | 7b5f02aa6a6d5c4fe4bff0d32c2dbb0abf20e51c (patch) | |
| tree | 85dcc69a29b967e50d9a17d9600be301527a026c /keyboards/nyquist/split_util.c | |
| parent | b20a87e3cc7079e1ab92692d9c89126547551528 (diff) | |
| download | qmk_firmware-7b5f02aa6a6d5c4fe4bff0d32c2dbb0abf20e51c.tar.gz qmk_firmware-7b5f02aa6a6d5c4fe4bff0d32c2dbb0abf20e51c.zip | |
Port updated debouncing algorithm from Let's Split to Nyquist
Diffstat (limited to 'keyboards/nyquist/split_util.c')
| -rw-r--r-- | keyboards/nyquist/split_util.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/keyboards/nyquist/split_util.c b/keyboards/nyquist/split_util.c index 39639c3b4..346cbc908 100644 --- a/keyboards/nyquist/split_util.c +++ b/keyboards/nyquist/split_util.c | |||
| @@ -8,6 +8,7 @@ | |||
| 8 | #include "matrix.h" | 8 | #include "matrix.h" |
| 9 | #include "keyboard.h" | 9 | #include "keyboard.h" |
| 10 | #include "config.h" | 10 | #include "config.h" |
| 11 | #include "timer.h" | ||
| 11 | 12 | ||
| 12 | #ifdef USE_I2C | 13 | #ifdef USE_I2C |
| 13 | # include "i2c.h" | 14 | # include "i2c.h" |
| @@ -42,6 +43,7 @@ static void keyboard_master_setup(void) { | |||
| 42 | } | 43 | } |
| 43 | 44 | ||
| 44 | static void keyboard_slave_setup(void) { | 45 | static void keyboard_slave_setup(void) { |
| 46 | timer_init(); | ||
| 45 | #ifdef USE_I2C | 47 | #ifdef USE_I2C |
| 46 | i2c_slave_init(SLAVE_I2C_ADDRESS); | 48 | i2c_slave_init(SLAVE_I2C_ADDRESS); |
| 47 | #else | 49 | #else |
