summaryrefslogtreecommitdiffstats
path: root/quantum/matrix.h
diff options
context:
space:
mode:
Diffstat (limited to 'quantum/matrix.h')
-rw-r--r--quantum/matrix.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/quantum/matrix.h b/quantum/matrix.h
index d968efeb0f..4b4210cb0f 100644
--- a/quantum/matrix.h
+++ b/quantum/matrix.h
@@ -19,6 +19,11 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#include <stdint.h>
#include <stdbool.h>
+#include "gpio.h"
+
+/* diode directions */
+#define COL2ROW 0
+#define ROW2COL 1
#if (MATRIX_COLS <= 8)
typedef uint8_t matrix_row_t;