aboutsummaryrefslogtreecommitdiff
path: root/tmk_core/common/matrix.h
diff options
context:
space:
mode:
Diffstat (limited to 'tmk_core/common/matrix.h')
-rw-r--r--tmk_core/common/matrix.h10
1 files changed, 0 insertions, 10 deletions
diff --git a/tmk_core/common/matrix.h b/tmk_core/common/matrix.h
index 84e066c67..cee3593ee 100644
--- a/tmk_core/common/matrix.h
+++ b/tmk_core/common/matrix.h
@@ -31,16 +31,6 @@ typedef uint32_t matrix_row_t;
31#error "MATRIX_COLS: invalid value" 31#error "MATRIX_COLS: invalid value"
32#endif 32#endif
33 33
34#if (MATRIX_ROWS <= 8)
35typedef uint8_t matrix_col_t;
36#elif (MATRIX_ROWS <= 16)
37typedef uint16_t matrix_col_t;
38#elif (MATRIX_ROWS <= 32)
39typedef uint32_t matrix_col_t;
40#else
41#error "MATRIX_COLS: invalid value"
42#endif
43
44#define MATRIX_IS_ON(row, col) (matrix_get_row(row) && (1<<col)) 34#define MATRIX_IS_ON(row, col) (matrix_get_row(row) && (1<<col))
45 35
46 36