summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--quantum/config_common.h4
-rw-r--r--quantum/matrix.h4
2 files changed, 4 insertions, 4 deletions
diff --git a/quantum/config_common.h b/quantum/config_common.h
index 6ab8a2aa7d..18560f3a07 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 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/>.
#include <stdint.h>
#include <stdbool.h>
+/* diode directions */
+#define COL2ROW 0
+#define ROW2COL 1
+
#if (MATRIX_COLS <= 8)
typedef uint8_t matrix_row_t;
#elif (MATRIX_COLS <= 16)