aboutsummaryrefslogtreecommitdiff
path: root/embassy-usb/src/class
diff options
context:
space:
mode:
authorTimo Kröger <[email protected]>2022-12-26 09:36:04 +0100
committerTimo Kröger <[email protected]>2022-12-26 09:36:04 +0100
commit4e0d563997017492aa46025e8809653c14e0f875 (patch)
treef7e4ddb7fa87b2306dd447231951e7ce55ccd39d /embassy-usb/src/class
parent97f9f248f4ca09ab8b2bbb3806d9c23ccc038224 (diff)
usb cdc-acm: Set flag for supported capabilities
Diffstat (limited to 'embassy-usb/src/class')
-rw-r--r--embassy-usb/src/class/cdc_acm.rs5
1 files changed, 4 insertions, 1 deletions
diff --git a/embassy-usb/src/class/cdc_acm.rs b/embassy-usb/src/class/cdc_acm.rs
index 7f66c5d52..84db20621 100644
--- a/embassy-usb/src/class/cdc_acm.rs
+++ b/embassy-usb/src/class/cdc_acm.rs
@@ -185,7 +185,10 @@ impl<'d, D: Driver<'d>> CdcAcmClass<'d, D> {
185 CS_INTERFACE, 185 CS_INTERFACE,
186 &[ 186 &[
187 CDC_TYPE_ACM, // bDescriptorSubtype 187 CDC_TYPE_ACM, // bDescriptorSubtype
188 0x00, // bmCapabilities 188 0x02, // bmCapabilities:
189 // D1: Device supports the request combination of
190 // Set_Line_Coding, Set_Control_Line_State, Get_Line_Coding,
191 // and the Notification Serial_State.
189 ], 192 ],
190 ); 193 );
191 alt.descriptor( 194 alt.descriptor(