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. This class was originally derived from the corresponding class for Qt. Please refer to https://github.com/bloguetronica/cp2130-qt if you wish to use the original class instead.
2
stars
0
forks
source link
Variable "kernelAttached_" should be renamed to "kernelWasAttached_" #8
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.