diff options
author | cbbrowne <cbbrowne@cbbrowne.tor.int-afilias.info> | 2016-11-16 17:05:11 -0500 |
---|---|---|
committer | cbbrowne <cbbrowne@cbbrowne.tor.int-afilias.info> | 2016-11-16 17:05:11 -0500 |
commit | 5b88e7ab9a59dbbc5df6ffa4639befebb9fb115e (patch) | |
tree | 3676cd8ed034158c1d615d62cca3bf2631a71e96 /keyboards/infinity60/matrix.c | |
parent | c609edc36233ef0dc87d158fb8e8da989e74cae2 (diff) | |
parent | 9f1b27c5bad5ba36afaa32f986fd662053215d8b (diff) |
Merge branch 'master' of https://github.com/jackhumbert/qmk_firmware
Diffstat (limited to 'keyboards/infinity60/matrix.c')
-rw-r--r-- | keyboards/infinity60/matrix.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/keyboards/infinity60/matrix.c b/keyboards/infinity60/matrix.c index 62c165aa53..d2f1852885 100644 --- a/keyboards/infinity60/matrix.c +++ b/keyboards/infinity60/matrix.c @@ -96,7 +96,12 @@ uint8_t matrix_scan(void) } #endif - wait_us(1); // need wait to settle pin state + // need wait to settle pin state + // if you wait too short, or have a too high update rate + // the keyboard might freeze, or there might not be enough + // processing power to update the LCD screen properly. + // 20us, or two ticks at 100000Hz seems to be OK + wait_us(20); // read col data data = (palReadPort(GPIOD)>>1); |