summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorScott Shawcroft <scott@tannewt.org>2018-11-09 11:33:56 -0800
committerScott Shawcroft <scott@tannewt.org>2018-11-09 11:33:56 -0800
commit43f7ca7985768c974b6881957b21d687c34413ba (patch)
tree83853be3b0197c1c18bcea4f5d3403d48a63e15e /tools
parent688f0e388bbb0ae4420c8e3145e83cb15d9b3829 (diff)
Incorporate feedback:
* Clean up board defines. * Add flush on eject and stay ejected. * Swith back to NONE protocol for CDC.
Diffstat (limited to 'tools')
-rw-r--r--tools/gen_usb_descriptor.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/gen_usb_descriptor.py b/tools/gen_usb_descriptor.py
index b50c0798f..2cb06ec2f 100644
--- a/tools/gen_usb_descriptor.py
+++ b/tools/gen_usb_descriptor.py
@@ -80,7 +80,7 @@ cdc_comm_interface = standard.InterfaceDescriptor(
description="CDC comm",
bInterfaceClass=cdc.CDC_CLASS_COMM, # Communications Device Class
bInterfaceSubClass=cdc.CDC_SUBCLASS_ACM, # Abstract control model
- bInterfaceProtocol=cdc.CDC_PROTOCOL_V25TER,
+ bInterfaceProtocol=cdc.CDC_PROTOCOL_NONE,
iInterface=StringIndex.index("CircuitPython CDC control"),
subdescriptors=[
cdc.Header(
@@ -254,7 +254,7 @@ cdc_iad = standard.InterfaceAssociationDescriptor(
bInterfaceCount=len(cdc_interfaces),
bFunctionClass=cdc.CDC_CLASS_COMM, # Communications Device Class
bFunctionSubClass=cdc.CDC_SUBCLASS_ACM, # Abstract control model
- bFunctionProtocol=cdc.CDC_PROTOCOL_V25TER) # TODO(tannewt): can this be NONE (aka 0)?
+ bFunctionProtocol=cdc.CDC_PROTOCOL_NONE)
# audio_iad = standard.InterfaceAssociationDescriptor(
# description="Audio IAD",