Closed gl-sergei closed 6 years ago
It doesn't cause any issues, but still needs to be fixed. The code
https://github.com/gl-sergei/u2f-token/blob/871eb2f506e44f1140241e894dd5fff1f755bad8/u2f/usb-hid.c#L240-L241
expecting SET_IDLE rate value to come in a data packet, but in fact it comes in a high byte of wValue.
wValue
It doesn't cause any issues, but still needs to be fixed. The code
https://github.com/gl-sergei/u2f-token/blob/871eb2f506e44f1140241e894dd5fff1f755bad8/u2f/usb-hid.c#L240-L241
expecting SET_IDLE rate value to come in a data packet, but in fact it comes in a high byte of
wValue
.