From eb5d267e637db4c2c639932b8c8176bf47dff78f Mon Sep 17 00:00:00 2001
From: fauxpark <fauxpark@gmail.com>
Date: Sun, 19 Jan 2020 14:11:57 +1100
Subject: Enforce definition of `DIODE_DIRECTION` for non-custom matrix boards
 (#7915)

* Enforce definition of `DIODE_DIRECTION` for non-custom matrix boards

* Define diode direction for failing boards

* Matching parentheses

* Put onekey diode directions in top level config
---
 keyboards/handwired/lovelive9/config.h | 2 ++
 1 file changed, 2 insertions(+)

(limited to 'keyboards/handwired/lovelive9')

diff --git a/keyboards/handwired/lovelive9/config.h b/keyboards/handwired/lovelive9/config.h
index c11a25df6..f1f6f69c5 100644
--- a/keyboards/handwired/lovelive9/config.h
+++ b/keyboards/handwired/lovelive9/config.h
@@ -19,6 +19,8 @@
 #define MATRIX_ROW_PINS { NO_PIN }
 #define MATRIX_COL_PINS { B4, B6, B2, D7, B1, F7, F6, F5, F4 }
 
+#define DIODE_DIRECTION COL2ROW
+
 #define UNUSED_PINS
 
 /* ws2812 RGB LED */
-- 
cgit v1.2.3