more c++ style
fixed mistakes when inputField used \'char\' instead of \'uint8_t\'