BugID:17132114: [WhiteScan] Fix uninitialize value error for rtl8711b i2c_restart_enable
@@ -652,7 +652,7 @@ void i2c_reset(i2c_t *obj)
*/
void i2c_restart_enable(i2c_t *obj)
{
- uint32_t i2cen;
+ uint32_t i2cen = 0;
if (obj->I2Cx->IC_ENABLE & BIT_CTRL_IC_ENABLE) {
I2C_Cmd(obj->I2Cx, DISABLE);
