Преглед на файлове

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

Co-authored-by: Mewp <git@mewp.pl>
Mewp преди 3 години
родител
ревизия
c05d3eb365
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      keyboards/ergodox_ez/matrix.c

+ 1 - 1
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;