summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--board/keyborg/touch_scan.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/keyborg/touch_scan.c b/board/keyborg/touch_scan.c
index 01642d2958..bd66c8f0b1 100644
--- a/board/keyborg/touch_scan.c
+++ b/board/keyborg/touch_scan.c
@@ -153,7 +153,7 @@ int fast_scan(uint32_t *data)
{
int col;
- memset(data, 0, SCAN_BUF_SIZE);
+ memset(data, 0, SCAN_BUF_SIZE * 4);
STM32_PMSE_MRCR = 1 << 31;
for (col = 0; col < COL_COUNT * 2; ++col) {