CP2130 Configurator (cp2130-conf) is an application that can be used to configure CP2130 devices, including VID, PID, as well as other descriptors. Most importantly, the application allows you to configure pin functions and states.
GNU General Public License v3.0
1
stars
1
forks
source link
Severe bugs in ConfiguratorWindow::getEditedConfiguration(), where the bitmap fields are not read properly #45
Inside configuratorwindow.cpp, lines 601 to 604, in getEditedConfiguration(), the values should be treated as base-16. Unfortunately, this went unnoticed. Currently we have:
The values read from the line edit boxes are represented in hexadecimal, but they are being processed as if they were decimal. This obviously leads to severe conversion errors. The fix is simple:
Inside configuratorwindow.cpp, lines 601 to 604, in getEditedConfiguration(), the values should be treated as base-16. Unfortunately, this went unnoticed. Currently we have:
The values read from the line edit boxes are represented in hexadecimal, but they are being processed as if they were decimal. This obviously leads to severe conversion errors. The fix is simple: