Fix wait_us overflow in matrix for dactyl based boards (#14039)
This commit is contained in:
parent
8d9bfdc254
commit
e443fa2892
2 changed files with 2 additions and 2 deletions
|
@ -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 a new issue