1
0
Fork 0

Fix wait_us overflow in matrix for dactyl based boards (#14039)

This commit is contained in:
Drashna Jaelre 2021-08-17 08:20:01 -07:00 committed by GitHub
parent 8d9bfdc254
commit e443fa2892
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -130,7 +130,7 @@ void matrix_init(void)
void init_expander(void) { void init_expander(void) {
if (! i2c_initialized) { if (! i2c_initialized) {
i2c_init(); i2c_init();
wait_us(1000000); wait_ms(1000);
} }
if (! expander_input_pin_mask) { if (! expander_input_pin_mask) {

View file

@ -143,7 +143,7 @@ void matrix_init(void)
void init_expander(void) { void init_expander(void) {
if (! i2c_initialized) { if (! i2c_initialized) {
i2c_init(); i2c_init();
wait_us(1000000); wait_ms(1000);
} }
if (! expander_input_pin_mask) { if (! expander_input_pin_mask) {