Corrected some data type issues
I converted some values wrongly into uint16_t instead of uint8_t. It doesn't change anything effectively, but now it's clean.
I converted some values wrongly into uint16_t instead of uint8_t. It doesn't change anything effectively, but now it's clean.