Quick fixes to i2c debug code to fix datatypes.