summaryrefslogtreecommitdiffstats
path: root/keyboards/ergodox_ez
diff options
context:
space:
mode:
authorMewp <github@mewp.pl>2022-01-11 02:09:15 +0100
committerGitHub <noreply@github.com>2022-01-10 17:09:15 -0800
commitc05d3eb365c8a3805c26f49a9abc7e4332d59155 (patch)
treec84c1fffcff5fe36487a105ede25595308a9929d /keyboards/ergodox_ez
parentffebc0407c75df06159fc136b8875f18b56f45fd (diff)
[Keyboard] Fix suspend issues on ergodox_ez. (#15300)
Co-authored-by: Mewp <git@mewp.pl>
Diffstat (limited to 'keyboards/ergodox_ez')
-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 c091b6eb97..e84a5e2bd3 100644
--- a/keyboards/ergodox_ez/matrix.c
+++ b/keyboards/ergodox_ez/matrix.c
@@ -70,7 +70,7 @@ void matrix_init_custom(void) {
// Reads and stores a row, returning
// whether a change occurred.
static inline bool store_raw_matrix_row(uint8_t index) {
- matrix_row_t temp = read_cols(index);
+ matrix_row_t temp = 0x3F & read_cols(index);
if (raw_matrix[index] != temp) {
raw_matrix[index] = temp;
return true;