diff options
| author | Hierophect <hierophect@gmail.com> | 2019-08-09 19:58:54 -0400 |
|---|---|---|
| committer | Hierophect <hierophect@gmail.com> | 2019-08-09 19:58:54 -0400 |
| commit | 294d6dc8673d3c288033ac226ff1d695b8df1073 (patch) | |
| tree | 860c1c2240e95f14d63e33a957a99d929fa08fd8 /tools | |
| parent | c375a5d37f8fa3016b0a328b3efaa165094e6387 (diff) | |
Add flash functions and setup, fix msc descriptor bug
Diffstat (limited to 'tools')
| -rw-r--r-- | tools/gen_usb_descriptor.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/gen_usb_descriptor.py b/tools/gen_usb_descriptor.py index db17c9766..a5667dd46 100644 --- a/tools/gen_usb_descriptor.py +++ b/tools/gen_usb_descriptor.py @@ -131,7 +131,7 @@ msc_interfaces = [ bInterval=0), standard.EndpointDescriptor( description="MSC out", - bEndpointAddress=0x1 | standard.EndpointDescriptor.DIRECTION_OUT, + bEndpointAddress=0x0 | standard.EndpointDescriptor.DIRECTION_OUT, bmAttributes=standard.EndpointDescriptor.TYPE_BULK, bInterval=0) ] @@ -273,7 +273,7 @@ cdc_iad = standard.InterfaceAssociationDescriptor( descriptor_list = [] descriptor_list.append(cdc_iad) descriptor_list.extend(cdc_interfaces) -# descriptor_list.extend(msc_interfaces) +descriptor_list.extend(msc_interfaces) # Only add the control interface because other audio interfaces are managed by it to ensure the # correct ordering. # descriptor_list.append(audio_control_interface) |
