Remove the type definition of uint8 and uint16, and use the uint8_t and uint16_t that already exists.