summaryrefslogtreecommitdiffstats
path: root/keyboards/whitefox/matrix.c
diff options
context:
space:
mode:
authorKaleb Elwert <belak@coded.io>2017-01-10 12:00:36 +0100
committerKaleb Elwert <belak@coded.io>2017-01-10 12:00:36 +0100
commita55c5e3ea353e3d1a73550bcc898bbc4f023c42e (patch)
tree53b2f103f45a9f662f91ec49d64d83a6a9f0daf4 /keyboards/whitefox/matrix.c
parent0b38204e62446a7ce2eaf60709cbf7e426a200be (diff)
downloadqmk_firmware-a55c5e3ea353e3d1a73550bcc898bbc4f023c42e.tar.gz
qmk_firmware-a55c5e3ea353e3d1a73550bcc898bbc4f023c42e.tar.xz
Wait for two ticks rather than 1
Diffstat (limited to 'keyboards/whitefox/matrix.c')
-rw-r--r--keyboards/whitefox/matrix.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/keyboards/whitefox/matrix.c b/keyboards/whitefox/matrix.c
index d69b82d61..9202ab023 100644
--- a/keyboards/whitefox/matrix.c
+++ b/keyboards/whitefox/matrix.c
@@ -69,7 +69,7 @@ uint8_t matrix_scan(void)
case 8: palSetPad(GPIOC, 11); break;
}
- wait_us(10); // need wait to settle pin state
+ wait_us(20); // need wait to settle pin state
// read col data: { PTD0, PTD1, PTD4, PTD5, PTD6, PTD7, PTC1, PTC2 }
data = ((palReadPort(GPIOC) & 0x06UL) << 5) |