Fix wait_us overflow in matrix for dactyl based boards (#14039)
parent
8d9bfdc254
commit
e443fa2892
|
@ -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) {
|
||||||
|
|
|
@ -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) {
|
||||||
|
|
Loading…
Reference in New Issue