Port updated debouncing algorithm from Let's Split to Nyquist
This commit is contained in:
parent
b20a87e3cc
commit
7b5f02aa6a
2 changed files with 200 additions and 50 deletions
|
@ -8,6 +8,7 @@
|
|||
#include "matrix.h"
|
||||
#include "keyboard.h"
|
||||
#include "config.h"
|
||||
#include "timer.h"
|
||||
|
||||
#ifdef USE_I2C
|
||||
# include "i2c.h"
|
||||
|
@ -42,6 +43,7 @@ static void keyboard_master_setup(void) {
|
|||
}
|
||||
|
||||
static void keyboard_slave_setup(void) {
|
||||
timer_init();
|
||||
#ifdef USE_I2C
|
||||
i2c_slave_init(SLAVE_I2C_ADDRESS);
|
||||
#else
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue