mirror of
https://github.com/andreili/klipper.git
synced 2025-09-19 11:24:42 +02:00
stm32f0: minor i2c bugfix (#1461)
Signed-off-by: Eugene Krashtan <eug.krashtan@gmail.com>
This commit is contained in:
parent
c7330e07a4
commit
5913170b6b
@ -77,8 +77,8 @@ void i2c_read(struct i2c_config config, uint8_t reg_len, uint8_t *reg
|
|||||||
if (HAL_I2C_GetError(&hi2c1) != HAL_I2C_ERROR_AF) {
|
if (HAL_I2C_GetError(&hi2c1) != HAL_I2C_ERROR_AF) {
|
||||||
shutdown("Buffer error");
|
shutdown("Buffer error");
|
||||||
}
|
}
|
||||||
|
i2c_to_check(timeout);
|
||||||
}
|
}
|
||||||
i2c_to_check(timeout);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
x
Reference in New Issue
Block a user