diff options
Diffstat (limited to 'tmk_core/common/matrix.h')
-rw-r--r-- | tmk_core/common/matrix.h | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/tmk_core/common/matrix.h b/tmk_core/common/matrix.h index 7624d5137..a2fedf5ff 100644 --- a/tmk_core/common/matrix.h +++ b/tmk_core/common/matrix.h | |||
@@ -40,6 +40,8 @@ typedef uint32_t matrix_col_t; | |||
40 | # error "MATRIX_ROWS: invalid value" | 40 | # error "MATRIX_ROWS: invalid value" |
41 | #endif | 41 | #endif |
42 | 42 | ||
43 | #define MATRIX_ROW_SHIFTER ((matrix_row_t)1) | ||
44 | |||
43 | #define MATRIX_IS_ON(row, col) (matrix_get_row(row) && (1 << col)) | 45 | #define MATRIX_IS_ON(row, col) (matrix_get_row(row) && (1 << col)) |
44 | 46 | ||
45 | #ifdef __cplusplus | 47 | #ifdef __cplusplus |
@@ -79,11 +81,6 @@ void matrix_scan_kb(void); | |||
79 | void matrix_init_user(void); | 81 | void matrix_init_user(void); |
80 | void matrix_scan_user(void); | 82 | void matrix_scan_user(void); |
81 | 83 | ||
82 | #ifdef I2C_SPLIT | ||
83 | void slave_matrix_init(void); | ||
84 | uint8_t slave_matrix_scan(void); | ||
85 | #endif | ||
86 | |||
87 | #ifdef __cplusplus | 84 | #ifdef __cplusplus |
88 | } | 85 | } |
89 | #endif | 86 | #endif |