summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKaleb Elwert <belak@coded.io>2017-01-10 03:00:36 -0800
committerKaleb Elwert <belak@coded.io>2017-01-10 03:00:36 -0800
commita55c5e3ea353e3d1a73550bcc898bbc4f023c42e (patch)
tree53b2f103f45a9f662f91ec49d64d83a6a9f0daf4
parent0b38204e62446a7ce2eaf60709cbf7e426a200be (diff)
Wait for two ticks rather than 1
-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 d69b82d61d..9202ab0231 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) |