Cleanedup the I2C code.