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