-
Notifications
You must be signed in to change notification settings - Fork 112
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Using WINUSB_MS_VENDOR_CODE in extra string #7
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not sure that this would work - I think it would create a temporary character array on the stack that would not be guaranteed to still be valid when the extra string descriptor request comes in.
This could be rectified by making it a static const char array.
You are probably right. I did not test it on our device yet (WinUSB still doesn't load correctly; I think I will have to add the extended properties descriptor). |
This might make some future debugging easier.
It's static const now. |
Thanks, when I get a chance to dig out my windows test machine, I'll verify that it still works. |
Seems to be working in our FW |
@karel-3d Sorry this took so long to merge - I just finally got around to digging out my Windows 10 test machine. Thanks for the patch! |
Ha I don’t work at the job I needed this for anymore. Thanks for replying
though :) and patching
.... now I remember all the USB debugging pain again. >:(
…On Mon, 19 Aug 2019 at 23:53, Devan Lai ***@***.***> wrote:
@karel-3d <https://github.com/karel-3d> Sorry this took so long to merge
- I just finally got around to digging out my Windows 10 test machine.
Thanks for the patch!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#7?email_source=notifications&email_token=AAAZT4PVMYVEWP2TESSTZDDQFLFZ7A5CNFSM4EGOIALKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD4TTE3I#issuecomment-522662509>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAAZT4L4KQZMQNKCE24EGXDQFLFZ7ANCNFSM4EGOIALA>
.
|
This might make some future debugging easier.
I did not test this, but it should work in theory :)