Implement functions that return the hardware revision as a std::string
Two functions that should be implemented:
- std::string getHardwareRevision(int &errcnt, std::string &errstr)
- static std::string HardwareRevision(const CP2130::USBConfig &config)
The first function returns the hardware revision as a std::string. The second function is static, and serves as the base of the former. It returns a std::string, but expects a CP2130::USBConfig variable.
Edited by Samuel Lourenço