bloguetronica / cp2130-conf

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

"Suspend level", "Resume mask" and "Resume match" fields should not accept values greater than 0x7FFF #2

Closed samuelfmlourenco closed 2 years ago

samuelfmlourenco commented 2 years ago

The above fields are accepting values greater than 0x7FFF, and the program doesn't even warn the user. This is misleading, because the first bit in those fields is always filtered out, as it should (please, refer to the implementation of writePinConfig() inside cp2130.cpp).

samuelfmlourenco commented 2 years ago

Checks implemented in version 1.1.