[Keyboard] Fix suspend issues on ergodox_ez. (#15300)

Co-authored-by: Mewp <git@mewp.pl>
This commit is contained in:
Mewp 2022-01-11 02:09:15 +01:00 committed by GitHub
parent ffebc0407c
commit c05d3eb365
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -70,7 +70,7 @@ void matrix_init_custom(void) {
// Reads and stores a row, returning // Reads and stores a row, returning
// whether a change occurred. // whether a change occurred.
static inline bool store_raw_matrix_row(uint8_t index) { 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) { if (raw_matrix[index] != temp) {
raw_matrix[index] = temp; raw_matrix[index] = temp;
return true; return true;