diff options
author | Dean Camera <dean@fourwalledcubicle.com> | 2018-06-17 13:55:06 +1000 |
---|---|---|
committer | Dean Camera <dean@fourwalledcubicle.com> | 2018-06-17 13:55:06 +1000 |
commit | 16f4492eb4783f3821155d87907ad0db7be9cc90 (patch) | |
tree | 74e4d429a9cd7a26898df001842349fa90a1408d /Demos/Device/ClassDriver/VirtualSerial | |
parent | 45ab627b4a06f7d0186d7263c1afd30ef4a80dcd (diff) | |
download | lufa-16f4492eb4783f3821155d87907ad0db7be9cc90.tar.gz lufa-16f4492eb4783f3821155d87907ad0db7be9cc90.tar.bz2 lufa-16f4492eb4783f3821155d87907ad0db7be9cc90.zip |
Move class-specific functional descriptor definitions to their respective classes.
Diffstat (limited to 'Demos/Device/ClassDriver/VirtualSerial')
-rw-r--r-- | Demos/Device/ClassDriver/VirtualSerial/Descriptors.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Demos/Device/ClassDriver/VirtualSerial/Descriptors.c b/Demos/Device/ClassDriver/VirtualSerial/Descriptors.c index 6095261a9..03128bb1d 100644 --- a/Demos/Device/ClassDriver/VirtualSerial/Descriptors.c +++ b/Demos/Device/ClassDriver/VirtualSerial/Descriptors.c @@ -105,7 +105,7 @@ const USB_Descriptor_Configuration_t PROGMEM ConfigurationDescriptor = .CDC_Functional_Header = { - .Header = {.Size = sizeof(USB_CDC_Descriptor_FunctionalHeader_t), .Type = DTYPE_CSInterface}, + .Header = {.Size = sizeof(USB_CDC_Descriptor_FunctionalHeader_t), .Type = CDC_DTYPE_CSInterface}, .Subtype = CDC_DSUBTYPE_CSInterface_Header, .CDCSpecification = VERSION_BCD(1,1,0), @@ -113,7 +113,7 @@ const USB_Descriptor_Configuration_t PROGMEM ConfigurationDescriptor = .CDC_Functional_ACM = { - .Header = {.Size = sizeof(USB_CDC_Descriptor_FunctionalACM_t), .Type = DTYPE_CSInterface}, + .Header = {.Size = sizeof(USB_CDC_Descriptor_FunctionalACM_t), .Type = CDC_DTYPE_CSInterface}, .Subtype = CDC_DSUBTYPE_CSInterface_ACM, .Capabilities = 0x06, @@ -121,7 +121,7 @@ const USB_Descriptor_Configuration_t PROGMEM ConfigurationDescriptor = .CDC_Functional_Union = { - .Header = {.Size = sizeof(USB_CDC_Descriptor_FunctionalUnion_t), .Type = DTYPE_CSInterface}, + .Header = {.Size = sizeof(USB_CDC_Descriptor_FunctionalUnion_t), .Type = CDC_DTYPE_CSInterface}, .Subtype = CDC_DSUBTYPE_CSInterface_Union, .MasterInterfaceNumber = INTERFACE_ID_CDC_CCI, |