Repair I2C receive logic.