Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow setting the bcdDevice field to report firmware version number #120

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

ArrestedLightning
Copy link

The bcdDevice field in the USB device descriptor is used to indicate the firmware version of the USB device. It was previously hard coded to 0x0200, representing version 2.0. This remains the default behavior, but this PR adds a new function, setProductVersion(), to allow changing this field if desired. Its behavior should be similar to the setVendorID() and setProductVersion() functions that already exist in the library.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant