diff options
author | IBNobody <protospherex@gmail.com> | 2016-10-28 16:24:20 -0500 |
---|---|---|
committer | IBNobody <protospherex@gmail.com> | 2016-10-28 16:24:20 -0500 |
commit | 4c6960835c0a6e29670dabdc27117d7d3c7f99f5 (patch) | |
tree | 6b559d1aac3476257ca7d7db4b701f14514a268d /tmk_core | |
parent | 508eddf8ba8548d3f71e1c09a404839beb49f45c (diff) | |
download | qmk_firmware-4c6960835c0a6e29670dabdc27117d7d3c7f99f5.tar.gz |
Refactoring Matrix scanning
Diffstat (limited to 'tmk_core')
-rw-r--r-- | tmk_core/common/matrix.h | 10 |
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; #error "MATRIX_COLS: invalid value" #endif -#if (MATRIX_ROWS <= 8) -typedef uint8_t matrix_col_t; -#elif (MATRIX_ROWS <= 16) -typedef uint16_t matrix_col_t; -#elif (MATRIX_ROWS <= 32) -typedef uint32_t matrix_col_t; -#else -#error "MATRIX_COLS: invalid value" -#endif - #define MATRIX_IS_ON(row, col) (matrix_get_row(row) && (1<<col)) |