summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDrashna Jaelre <drashna@live.com>2021-08-17 08:20:01 -0700
committerGitHub <noreply@github.com>2021-08-17 08:20:01 -0700
commite443fa28929f2fc9033d306f92d756cd93cd86db (patch)
treeda2fc3231dfae7ccc34034033aceff287a39bfa9
parent8d9bfdc25437bb401985ba93b47edae2126e7fac (diff)
downloadqmk_firmware-e443fa28929f2fc9033d306f92d756cd93cd86db.tar.gz
qmk_firmware-e443fa28929f2fc9033d306f92d756cd93cd86db.zip
Fix wait_us overflow in matrix for dactyl based boards (#14039)
-rw-r--r--keyboards/handwired/dactyl/matrix.c2
-rw-r--r--keyboards/handwired/pterodactyl/matrix.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/keyboards/handwired/dactyl/matrix.c b/keyboards/handwired/dactyl/matrix.c
index 0f4f98ad8d..615621522d 100644
--- a/keyboards/handwired/dactyl/matrix.c
+++ b/keyboards/handwired/dactyl/matrix.c
@@ -130,7 +130,7 @@ void matrix_init(void)
void init_expander(void) {
if (! i2c_initialized) {
i2c_init();
- wait_us(1000000);
+ wait_ms(1000);
}
if (! expander_input_pin_mask) {
diff --git a/keyboards/handwired/pterodactyl/matrix.c b/keyboards/handwired/pterodactyl/matrix.c
index 507f640bd0..21e6a128df 100644
--- a/keyboards/handwired/pterodactyl/matrix.c
+++ b/keyboards/handwired/pterodactyl/matrix.c
@@ -143,7 +143,7 @@ void matrix_init(void)
void init_expander(void) {
if (! i2c_initialized) {
i2c_init();
- wait_us(1000000);
+ wait_ms(1000);
}
if (! expander_input_pin_mask) {