summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRyan Caltabiano <rcalt2vt@gmail.com>2019-05-26 07:37:40 -0500
committerDrashna Jaelre <drashna@live.com>2019-05-28 14:09:47 -0700
commit6d6646de049a77dab189bcd6efd99f505fc3aa9e (patch)
tree2438c8859c53b78438698b2249f075bf954d71d1
parent70a7b84dabf3e8dc292f0aaf966a10ba9a8707f8 (diff)
Fixing matrix_scan so it properly returns changed status
-rw-r--r--quantum/matrix.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/quantum/matrix.c b/quantum/matrix.c
index ca63f50f24..e222a30976 100644
--- a/quantum/matrix.c
+++ b/quantum/matrix.c
@@ -326,5 +326,5 @@ uint8_t matrix_scan(void)
debounce(raw_matrix, matrix, MATRIX_ROWS, changed);
matrix_scan_quantum();
- return 1;
+ return (uint8_t)changed;
}