A C++ class that uses libusb to interface with MCP2210 devices. It can be used to control the several aspects, such as NVRAM or volatile configurations, GPIO directions and states, or to perform SPI transfers. Note that this is a class variant made specifically for Qt. If you wish to use the original, non-Qt variant, please refer to https://github.com/bloguetronica/mcp2210.
0
stars
0
forks
source link
Command vectors should be constructed, and not assigned to #3
However, this is neither correct nor efficient. In fact, QVector provides a constructor based on arrays. Thus, the above code can be fixed by simply deleting the "=" sign, like so:
Currently, the above vectors are having arrays assigned to them. One example of such can be found in lines 190 to 204:
However, this is neither correct nor efficient. In fact, QVector provides a constructor based on arrays. Thus, the above code can be fixed by simply deleting the "=" sign, like so: