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/nafuda | |
| parent | eaed517c0bfb10c9169457ba2a187c0c4b0eef2e (diff) | |
| download | qmk_firmware-eb5d267e637db4c2c639932b8c8176bf47dff78f.tar.gz qmk_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/nafuda')
| -rw-r--r-- | keyboards/nafuda/config.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/keyboards/nafuda/config.h b/keyboards/nafuda/config.h index 3db4401d4..be3348668 100644 --- a/keyboards/nafuda/config.h +++ b/keyboards/nafuda/config.h | |||
| @@ -36,6 +36,8 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 36 | #define MATRIX_ROW_PINS { D1, D0, D4 } | 36 | #define MATRIX_ROW_PINS { D1, D0, D4 } |
| 37 | #define MATRIX_COL_PINS { F4, F5, F6 } | 37 | #define MATRIX_COL_PINS { F4, F5, F6 } |
| 38 | 38 | ||
| 39 | #define DIODE_DIRECTION COL2ROW | ||
| 40 | |||
| 39 | /* Set 0 if debouncing isn't needed */ | 41 | /* Set 0 if debouncing isn't needed */ |
| 40 | #define DEBOUNCE 5 | 42 | #define DEBOUNCE 5 |
| 41 | 43 | ||
