Fix the i2c write of the eeprom