diff options
author | Joel Challis <git@zvecr.com> | 2020-02-21 03:49:33 +0000 |
---|---|---|
committer | Drashna Jael're <drashna@live.com> | 2020-03-26 00:42:12 -0700 |
commit | 583bd29a60abf3e6b94a258e1f7dfa2e63a47bdc (patch) | |
tree | 55dacbaeaee370d14f212ad17f2e1e45b3aab144 /tmk_core/common/matrix.h | |
parent | 31d15910e7e0ca75a055c9de498bddf7e96d6cc0 (diff) |
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/common/matrix.h')
-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 a2fedf5ff0..78506059e6 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); matrix_row_t matrix_get_row(uint8_t row); /* print matrix for debug */ void matrix_print(void); +/* delay between changing matrix pin state and reading values */ +void matrix_io_delay(void); /* power control */ void matrix_power_up(void); |