From 968cc1fe7b5c99f85d2888071fed8511125ebe9b Mon Sep 17 00:00:00 2001 From: Joel Challis Date: Mon, 30 Jan 2023 04:10:40 +0000 Subject: [PATCH] Relocate diode direction definitions (#19715) --- quantum/config_common.h | 4 ---- quantum/matrix.h | 4 ++++ 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/quantum/config_common.h b/quantum/config_common.h index 6ab8a2aa7db3be10ff2786920901b8fee9694e22..18560f3a07a4b8300d45a37b9a448fa74615234b 100644 --- a/quantum/config_common.h +++ b/quantum/config_common.h @@ -20,10 +20,6 @@ # include "pin_defs.h" #endif -/* diode directions */ -#define COL2ROW 0 -#define ROW2COL 1 - #ifdef AUDIO_ENABLE # include "song_list.h" #endif diff --git a/quantum/matrix.h b/quantum/matrix.h index d968efeb0f51421b4378c6bc89e01aef3cf0aa09..f4b81c3b85912ed6797fe51728e40dfc38675163 100644 --- a/quantum/matrix.h +++ b/quantum/matrix.h @@ -20,6 +20,10 @@ along with this program. If not, see . #include #include +/* diode directions */ +#define COL2ROW 0 +#define ROW2COL 1 + #if (MATRIX_COLS <= 8) typedef uint8_t matrix_row_t; #elif (MATRIX_COLS <= 16)