summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDrashna Jaelre <drashna@live.com>2019-05-29 11:55:38 -0700
committerFlorian Didron <fdidron@users.noreply.github.com>2019-06-04 17:59:33 +0900
commit12e79b6972ba575c030889b95caaa1f4ca040653 (patch)
treec2bf478b1a41ba52cbb2b4933d55b4cc90c9a73d
parenta9f88d121e44d00c2a1f935c397c984c9f2f96fe (diff)
Fixing matrix_scan so it properly returns changed status on Ergodox E
-rw-r--r--keyboards/ergodox_ez/matrix.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/keyboards/ergodox_ez/matrix.c b/keyboards/ergodox_ez/matrix.c
index 6f604ae2b9..80a2d1d95b 100644
--- a/keyboards/ergodox_ez/matrix.c
+++ b/keyboards/ergodox_ez/matrix.c
@@ -188,7 +188,7 @@ uint8_t matrix_scan(void) {
debounce(raw_matrix, matrix, MATRIX_ROWS, changed);
matrix_scan_quantum();
- return 1;
+ return (uint8_t)changed;
}
bool matrix_is_modified(void) // deprecated and evidently not called.