mirror of
https://github.com/STMicroelectronics/STM32CubeF1.git
synced 2025-04-26 13:49:04 +08:00
wrong define used to clear I2C ADDR flag
This commit is contained in:
parent
276c4ab953
commit
7106f628ab
@ -6059,7 +6059,7 @@ static void I2C_Slave_ADDR(I2C_HandleTypeDef *hi2c, uint32_t IT2Flags)
|
|||||||
else
|
else
|
||||||
{
|
{
|
||||||
/* Clear ADDR flag */
|
/* Clear ADDR flag */
|
||||||
__HAL_I2C_CLEAR_FLAG(hi2c, I2C_FLAG_ADDR);
|
__HAL_I2C_CLEAR_ADDRFLAG(hi2c);
|
||||||
|
|
||||||
/* Process Unlocked */
|
/* Process Unlocked */
|
||||||
__HAL_UNLOCK(hi2c);
|
__HAL_UNLOCK(hi2c);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user