diff options
author | fauxpark <fauxpark@gmail.com> | 2020-01-19 14:11:57 +1100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-01-19 14:11:57 +1100 |
commit | eb5d267e637db4c2c639932b8c8176bf47dff78f (patch) | |
tree | 8e9f36d80dac91f40b95eb53022118bb7deb94a3 /keyboards/vitamins_included | |
parent | eaed517c0bfb10c9169457ba2a187c0c4b0eef2e (diff) | |
download | firmware-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/vitamins_included')
-rw-r--r-- | keyboards/vitamins_included/rev1/config.h | 2 | ||||
-rw-r--r-- | keyboards/vitamins_included/rev2/config.h | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/keyboards/vitamins_included/rev1/config.h b/keyboards/vitamins_included/rev1/config.h index c4881db01..88b43ffc3 100644 --- a/keyboards/vitamins_included/rev1/config.h +++ b/keyboards/vitamins_included/rev1/config.h @@ -38,6 +38,8 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. #define MATRIX_ROW_PINS { F5, F6, C7, F7 } #define MATRIX_COL_PINS { F1, F4, E2, B6, D7, D6} +#define DIODE_DIRECTION COL2ROW + /* define if matrix has ghost */ //#define MATRIX_HAS_GHOST diff --git a/keyboards/vitamins_included/rev2/config.h b/keyboards/vitamins_included/rev2/config.h index 0aa0e7063..d0f9e6400 100644 --- a/keyboards/vitamins_included/rev2/config.h +++ b/keyboards/vitamins_included/rev2/config.h @@ -37,6 +37,8 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. #define MATRIX_ROW_PINS { F5, F6, C7, F7 } #define MATRIX_COL_PINS { F1, F4, E2, B6, D7, D6} +#define DIODE_DIRECTION COL2ROW + /* define if matrix has ghost */ //#define MATRIX_HAS_GHOST |