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
Style: Variable "errcnt" should be incremented using the pre-increment operator #24
The variable "errcnt" is being incremented by one in several occasions:
errcnt += 1;
However, this should be done using the pre-increment operator:
++errcnt;