aboutsummaryrefslogtreecommitdiffstats
path: root/tmk_core/common/matrix.h
diff options
context:
space:
mode:
authorGravatar Joel Challis <git@zvecr.com>2020-02-21 03:49:33 +0000
committerGravatar GitHub <noreply@github.com>2020-02-21 14:49:33 +1100
commit7707724dc4864cb4ede738ee9e2c3568df99ced2 (patch)
treea8107c5eaf6254ce71ae1e3c4b61d69b6c4ef7d4 /tmk_core/common/matrix.h
parent42d6270f28831e95d1cb9c14a7423d5b1d864d67 (diff)
downloadqmk_firmware-7707724dc4864cb4ede738ee9e2c3568df99ced2.tar.gz
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.h2
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);
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);