aboutsummaryrefslogtreecommitdiffstats
path: root/keyboards/handwired/dactyl_promicro/config.h
diff options
context:
space:
mode:
authorGravatar fauxpark <fauxpark@gmail.com>2020-01-19 14:11:57 +1100
committerGravatar GitHub <noreply@github.com>2020-01-19 14:11:57 +1100
commiteb5d267e637db4c2c639932b8c8176bf47dff78f (patch)
tree8e9f36d80dac91f40b95eb53022118bb7deb94a3 /keyboards/handwired/dactyl_promicro/config.h
parenteaed517c0bfb10c9169457ba2a187c0c4b0eef2e (diff)
downloadqmk_firmware-eb5d267e637db4c2c639932b8c8176bf47dff78f.tar.gz
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/handwired/dactyl_promicro/config.h')
-rw-r--r--keyboards/handwired/dactyl_promicro/config.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/keyboards/handwired/dactyl_promicro/config.h b/keyboards/handwired/dactyl_promicro/config.h
index 3c0b541d1..c57e76624 100644
--- a/keyboards/handwired/dactyl_promicro/config.h
+++ b/keyboards/handwired/dactyl_promicro/config.h
@@ -30,6 +30,8 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define MATRIX_COL_PINS { D4, C6, D7, E6, B4, B5 }
#define MATRIX_ROW_PINS { F6, F7, B1, B3, B2, B6 }
+#define DIODE_DIRECTION COL2ROW
+
/* USB Device descriptor parameter */
#define VENDOR_ID 0xFEED
#define PRODUCT_ID 0x3060