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

master
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) {