Fixed wrong i2c_transfer check.