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
Style: The use of the keyword "struct" is not required when declaring "desc", in "cp2130.cpp", line 1093 #14
However, in C++, it is not required to use the "struct" keyword when declaring the variable "desc", which is of type "libusb_device_descriptor" which, in turn, is a structure.
On line 1093:
struct libusb_device_descriptor desc;
However, in C++, it is not required to use the "struct" keyword when declaring the variable "desc", which is of type "libusb_device_descriptor" which, in turn, is a structure.