usb cdc-acm: Remove unused call management descriptor
This commit is contained in:
parent
d1dd66cfca
commit
97f9f248f4
1 changed files with 0 additions and 9 deletions
|
@ -18,7 +18,6 @@ const CDC_PROTOCOL_NONE: u8 = 0x00;
|
||||||
|
|
||||||
const CS_INTERFACE: u8 = 0x24;
|
const CS_INTERFACE: u8 = 0x24;
|
||||||
const CDC_TYPE_HEADER: u8 = 0x00;
|
const CDC_TYPE_HEADER: u8 = 0x00;
|
||||||
const CDC_TYPE_CALL_MANAGEMENT: u8 = 0x01;
|
|
||||||
const CDC_TYPE_ACM: u8 = 0x02;
|
const CDC_TYPE_ACM: u8 = 0x02;
|
||||||
const CDC_TYPE_UNION: u8 = 0x06;
|
const CDC_TYPE_UNION: u8 = 0x06;
|
||||||
|
|
||||||
|
@ -197,14 +196,6 @@ impl<'d, D: Driver<'d>> CdcAcmClass<'d, D> {
|
||||||
data_if.into(), // bSubordinateInterface
|
data_if.into(), // bSubordinateInterface
|
||||||
],
|
],
|
||||||
);
|
);
|
||||||
alt.descriptor(
|
|
||||||
CS_INTERFACE,
|
|
||||||
&[
|
|
||||||
CDC_TYPE_CALL_MANAGEMENT, // bDescriptorSubtype
|
|
||||||
0x00, // bmCapabilities
|
|
||||||
data_if.into(), // bDataInterface
|
|
||||||
],
|
|
||||||
);
|
|
||||||
|
|
||||||
let comm_ep = alt.endpoint_interrupt_in(8, 255);
|
let comm_ep = alt.endpoint_interrupt_in(8, 255);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue