diff options
| author | xyzz <1065521+xyzz@users.noreply.github.com> | 2020-12-29 16:45:04 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-12-29 21:45:04 +0000 |
| commit | 2573ed8c6bc3ce5dcccbd3fddc2e8fe5a0377eac (patch) | |
| tree | 95c494e0005de4c970bef4d838c5f0dbf27acc06 /tmk_core/common/matrix.h | |
| parent | 25d9cdc88fa990251c5528d07027448c7c801f58 (diff) | |
| download | qmk_firmware-2573ed8c6bc3ce5dcccbd3fddc2e8fe5a0377eac.tar.gz qmk_firmware-2573ed8c6bc3ce5dcccbd3fddc2e8fe5a0377eac.zip | |
Remove MATRIX_IS_ON macro (#11330)
* Remove MATRIX_IS_ON macro
this macro is both incorrect and excessive given that macro_is_on()
exists
* Remove massdrop matrix.h
Diffstat (limited to 'tmk_core/common/matrix.h')
| -rw-r--r-- | tmk_core/common/matrix.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/tmk_core/common/matrix.h b/tmk_core/common/matrix.h index e36f01460..b570227a3 100644 --- a/tmk_core/common/matrix.h +++ b/tmk_core/common/matrix.h | |||
| @@ -32,8 +32,6 @@ typedef uint32_t matrix_row_t; | |||
| 32 | 32 | ||
| 33 | #define MATRIX_ROW_SHIFTER ((matrix_row_t)1) | 33 | #define MATRIX_ROW_SHIFTER ((matrix_row_t)1) |
| 34 | 34 | ||
| 35 | #define MATRIX_IS_ON(row, col) (matrix_get_row(row) && (1 << col)) | ||
| 36 | |||
| 37 | #ifdef __cplusplus | 35 | #ifdef __cplusplus |
| 38 | extern "C" { | 36 | extern "C" { |
| 39 | #endif | 37 | #endif |
