Skip to content

[WIP] Clean up inconsistencies and duplicates in USB configuration#71

Open
cyril-L wants to merge 3 commits into
Nitrokey:masterfrom
cyril-L:usb/cleanup
Open

[WIP] Clean up inconsistencies and duplicates in USB configuration#71
cyril-L wants to merge 3 commits into
Nitrokey:masterfrom
cyril-L:usb/cleanup

Conversation

@cyril-L
Copy link
Copy Markdown

@cyril-L cyril-L commented Apr 16, 2020

There is certainly more cleanup to do, but I found those the more confusing.

cyril-L added 2 commits April 16, 2020 18:29
It seems CCID USB headers ware redundant with CCIDHID USB ones, althougt it
was not clear which were actually used (the same include guards were used).

CCID_usb_conf.h values were defined as in usb_conf.h,
the added CCID_EP*_OUT_Callback were not used
Correct comments that were not in sync with the current code base.
@cyril-L cyril-L force-pushed the usb/cleanup branch 2 times, most recently from 617370b to 11a13b0 Compare April 17, 2020 09:30
- Kept the descriptor content as-is, checked comments agains libusb
output
- Replaced some defined values with real one to be easier to compare
  with specs and other implementations
- Aligned comments
@szszszsz
Copy link
Copy Markdown
Member

Hi! Thank you for the PR! Indeed this looks like a big cleanup.
I see you are still working on it - could you suffix the title with the [WIP] prefix until its finished?

@cyril-L cyril-L changed the title Clean up inconsistencies and duplicates in USB configuration [WIP] Clean up inconsistencies and duplicates in USB configuration Apr 17, 2020
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.

2 participants