A C++ class that uses libusb to interface with CP2130 devices. It can be used to configure the OTP ROM of such devices, as well as to control them. The class was made for Qt. If you wish to use a derived non-Qt version, please refer to https://github.com/bloguetronica/cp2130.
0
stars
0
forks
source link
Variable "kernelAttached_" should be renamed to "kernelWasAttached_" #17
The variable "kernelAttached" should be renamed to "kernelWasAttached" in order to convey meaning. This variable is a boolean used to indicate if the kernel driver was attached before opening a device. It is used so that the driver can be reattached again upon closure.
The variable "kernelAttached" should be renamed to "kernelWasAttached" in order to convey meaning. This variable is a boolean used to indicate if the kernel driver was attached before opening a device. It is used so that the driver can be reattached again upon closure.