removed "typedef uint8_t byte" - just use uint8_t instead.