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