1) Remove the definition of usb_cdc_generic_descriptor_t. It is
equivalent to usb_descriptor_t 2) Rename USB_CDC_CM_CM_OVER_DATA to USB_CDC_CM_OVER_DATA
This commit is contained in:
parent
153eb46fb6
commit
114278b089
|
@ -60,12 +60,6 @@
|
||||||
#define UDESCSUB_CDC_AN 0x10 /* ATM Networking */
|
#define UDESCSUB_CDC_AN 0x10 /* ATM Networking */
|
||||||
|
|
||||||
|
|
||||||
typedef struct {
|
|
||||||
uByte bLength;
|
|
||||||
uByte bDescriptorType;
|
|
||||||
uByte bDescriptorSubtype;
|
|
||||||
} usb_cdc_generic_descriptor_t;
|
|
||||||
|
|
||||||
typedef struct {
|
typedef struct {
|
||||||
uByte bLength;
|
uByte bLength;
|
||||||
uByte bDescriptorType;
|
uByte bDescriptorType;
|
||||||
|
@ -79,7 +73,7 @@ typedef struct {
|
||||||
uByte bDescriptorSubtype;
|
uByte bDescriptorSubtype;
|
||||||
uByte bmCapabilities;
|
uByte bmCapabilities;
|
||||||
#define USB_CDC_CM_DOES_CM 0x01
|
#define USB_CDC_CM_DOES_CM 0x01
|
||||||
#define USB_CDC_CM_CM_OVER_DATA 0x02
|
#define USB_CDC_CM_OVER_DATA 0x02
|
||||||
uByte bDataInterface;
|
uByte bDataInterface;
|
||||||
} usb_cdc_cm_descriptor_t;
|
} usb_cdc_cm_descriptor_t;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue