Skip to content

Commit

Permalink
Remove MATRIX_IS_ON macro (qmk#11330)
Browse files Browse the repository at this point in the history
* Remove MATRIX_IS_ON macro

this macro is both incorrect and excessive given that macro_is_on()
exists

* Remove massdrop matrix.h
  • Loading branch information
xyzz authored Dec 29, 2020
1 parent 25d9cdc commit 2573ed8
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 156 deletions.
77 changes: 0 additions & 77 deletions keyboards/massdrop/alt/matrix.h

This file was deleted.

77 changes: 0 additions & 77 deletions keyboards/massdrop/ctrl/matrix.h

This file was deleted.

2 changes: 0 additions & 2 deletions tmk_core/common/matrix.h
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,6 @@ typedef uint32_t matrix_row_t;

#define MATRIX_ROW_SHIFTER ((matrix_row_t)1)

#define MATRIX_IS_ON(row, col) (matrix_get_row(row) && (1 << col))

#ifdef __cplusplus
extern "C" {
#endif
Expand Down

0 comments on commit 2573ed8

Please sign in to comment.