diff options
| author | Joel Challis <git@zvecr.com> | 2020-02-21 03:49:33 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-02-21 14:49:33 +1100 |
| commit | 7707724dc4864cb4ede738ee9e2c3568df99ced2 (patch) | |
| tree | a8107c5eaf6254ce71ae1e3c4b61d69b6c4ef7d4 /tmk_core | |
| parent | 42d6270f28831e95d1cb9c14a7423d5b1d864d67 (diff) | |
| download | qmk_firmware-7707724dc4864cb4ede738ee9e2c3568df99ced2.tar.gz qmk_firmware-7707724dc4864cb4ede738ee9e2c3568df99ced2.zip | |
Allow 30us matrix delay to be keyboard/user overridable (#8216)
* Allow 30us matrix delay to be configurable via define
* Move wait logic to matrix_common
* Move wait logic to matrix_common - fix wait includes
Diffstat (limited to 'tmk_core')
| -rw-r--r-- | tmk_core/common/matrix.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tmk_core/common/matrix.h b/tmk_core/common/matrix.h index a2fedf5ff..78506059e 100644 --- a/tmk_core/common/matrix.h +++ b/tmk_core/common/matrix.h | |||
| @@ -66,6 +66,8 @@ bool matrix_is_on(uint8_t row, uint8_t col); | |||
| 66 | matrix_row_t matrix_get_row(uint8_t row); | 66 | matrix_row_t matrix_get_row(uint8_t row); |
| 67 | /* print matrix for debug */ | 67 | /* print matrix for debug */ |
| 68 | void matrix_print(void); | 68 | void matrix_print(void); |
| 69 | /* delay between changing matrix pin state and reading values */ | ||
| 70 | void matrix_io_delay(void); | ||
| 69 | 71 | ||
| 70 | /* power control */ | 72 | /* power control */ |
| 71 | void matrix_power_up(void); | 73 | void matrix_power_up(void); |
