|
while (!I2C_CheckEvent(I2C_PORT,I2C_EVENT_MASTER_MODE_SELECT)); // Wait for EV5 |
Please, for compatibility with different stm32 microcontrollers, replace this check with the following:
while (I2C_CheckEvent(I2C_PORT,I2C_EVENT_MASTER_MODE_SELECT)==ERROR);
For stm32f4 ErrorStatus defined as:
typedef enum
{
ERROR = 0U,
SUCCESS = !ERROR
} ErrorStatus;
Please do this in all your code
stm32/Si4703/main.c
Line 98 in a6c1049
Please, for compatibility with different stm32 microcontrollers, replace this check with the following:
while (I2C_CheckEvent(I2C_PORT,I2C_EVENT_MASTER_MODE_SELECT)==ERROR);For stm32f4
ErrorStatusdefined as:Please do this in all your code