We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4e9dae5 commit d6ae8b2Copy full SHA for d6ae8b2
libraries/Wire/src/utility/twi.c
@@ -1067,6 +1067,7 @@ void i2c_attachSlaveTxEvent(i2c_t *obj, void (*function)(i2c_t *))
1067
*/
1068
void HAL_I2C_AddrCallback(I2C_HandleTypeDef *hi2c, uint8_t TransferDirection, uint16_t AddrMatchCode)
1069
{
1070
+ UNUSED(AddrMatchCode);
1071
i2c_t *obj = get_i2c_obj(hi2c);
1072
if ((obj->slaveMode == SLAVE_MODE_RECEIVE) && (obj->slaveRxNbData != 0)) {
1073
obj->i2c_onSlaveReceive(obj);
0 commit comments