Commit 575251f
committed
usb-device: Default bDeviceClass, bDeviceSubClass, bDeviceProtocol to 0.
These values are apparently interpreted as "interface defined", which is
a good fit for what happens here (more than one interface might show up in
the device).
It works as expected for the examples in Linux and Windows 10. There will
probably be some scenarios where a different value needs to be explicitly
passed in for the device.
This work was funded through GitHub Sponsors.
Signed-off-by: Angus Gratton <angus@redyak.com.au>1 parent e40dd53 commit 575251f
1 file changed
+6
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
95 | 95 | | |
96 | 96 | | |
97 | 97 | | |
98 | | - | |
99 | | - | |
100 | | - | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
101 | 101 | | |
102 | 102 | | |
103 | 103 | | |
| |||
137 | 137 | | |
138 | 138 | | |
139 | 139 | | |
140 | | - | |
141 | | - | |
142 | | - | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
143 | 143 | | |
144 | 144 | | |
145 | 145 | | |
| |||
0 commit comments