1
0
forked from me/IronOS

Disable i2c slave code (shaves off a few hundred bytes)

This commit is contained in:
Ben V. Brown
2020-06-14 21:12:41 +10:00
parent 61f991e423
commit 9ea92a3c17

View File

@@ -3479,6 +3479,7 @@ void HAL_I2C_EV_IRQHandler(I2C_HandleTypeDef *hi2c)
}
}
/* Slave mode selected */
#if 0
else
{
/* ADDR set --------------------------------------------------------------*/
@@ -3520,6 +3521,7 @@ void HAL_I2C_EV_IRQHandler(I2C_HandleTypeDef *hi2c)
}
}
}
#endif
}
/**