diff options
| author | Joel Challis <git@zvecr.com> | 2023-01-30 04:10:40 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-01-30 15:10:40 +1100 |
| commit | 968cc1fe7b5c99f85d2888071fed8511125ebe9b (patch) | |
| tree | e7dbfec187ed3119bb1ec260282a1a946fd52171 /quantum/matrix.h | |
| parent | 043d8e1140e09327b72ed3bd55f369e1faf1a334 (diff) | |
Relocate diode direction definitions (#19715)
Diffstat (limited to 'quantum/matrix.h')
| -rw-r--r-- | quantum/matrix.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/quantum/matrix.h b/quantum/matrix.h index d968efeb0f..f4b81c3b85 100644 --- a/quantum/matrix.h +++ b/quantum/matrix.h | |||
| @@ -20,6 +20,10 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 20 | #include <stdint.h> | 20 | #include <stdint.h> |
| 21 | #include <stdbool.h> | 21 | #include <stdbool.h> |
| 22 | 22 | ||
| 23 | /* diode directions */ | ||
| 24 | #define COL2ROW 0 | ||
| 25 | #define ROW2COL 1 | ||
| 26 | |||
| 23 | #if (MATRIX_COLS <= 8) | 27 | #if (MATRIX_COLS <= 8) |
| 24 | typedef uint8_t matrix_row_t; | 28 | typedef uint8_t matrix_row_t; |
| 25 | #elif (MATRIX_COLS <= 16) | 29 | #elif (MATRIX_COLS <= 16) |
