aboutsummaryrefslogtreecommitdiffstats
path: root/keyboards/blackplum
diff options
context:
space:
mode:
authorfauxpark <fauxpark@gmail.com>2020-01-19 14:11:57 +1100
committerGitHub <noreply@github.com>2020-01-19 14:11:57 +1100
commiteb5d267e637db4c2c639932b8c8176bf47dff78f (patch)
tree8e9f36d80dac91f40b95eb53022118bb7deb94a3 /keyboards/blackplum
parenteaed517c0bfb10c9169457ba2a187c0c4b0eef2e (diff)
downloadfirmware-eb5d267e637db4c2c639932b8c8176bf47dff78f.tar.gz
firmware-eb5d267e637db4c2c639932b8c8176bf47dff78f.tar.bz2
firmware-eb5d267e637db4c2c639932b8c8176bf47dff78f.zip
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
Diffstat (limited to 'keyboards/blackplum')
-rw-r--r--keyboards/blackplum/config.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/keyboards/blackplum/config.h b/keyboards/blackplum/config.h
index 0fd7e21cb..256603744 100644
--- a/keyboards/blackplum/config.h
+++ b/keyboards/blackplum/config.h
@@ -19,6 +19,8 @@
#define MATRIX_COL_PINS { D0, D1, D2, F7, F6, F5, F4, F1 }
#define UNUSED_PINS
+#define DIODE_DIRECTION COL2ROW
+
/* Set 0 if debouncing isn't needed */
#define DEBOUNCE 5