aboutsummaryrefslogtreecommitdiffstats
path: root/Demos/Device/Incomplete/TestAndMeasurement/Descriptors.h
diff options
context:
space:
mode:
authorDean Camera <dean@fourwalledcubicle.com>2011-07-01 05:26:25 +0000
committerDean Camera <dean@fourwalledcubicle.com>2011-07-01 05:26:25 +0000
commit04660d3793292fad5a09bd50ae9615e53ca4aa10 (patch)
treee129246b6b2bf08358868e7ecdc03c2c4c5b708c /Demos/Device/Incomplete/TestAndMeasurement/Descriptors.h
parentb1625400998819846288e02a780b2b5ab14da143 (diff)
downloadlufa-04660d3793292fad5a09bd50ae9615e53ca4aa10.tar.gz
lufa-04660d3793292fad5a09bd50ae9615e53ca4aa10.tar.bz2
lufa-04660d3793292fad5a09bd50ae9615e53ca4aa10.zip
Seperate out the device demos and project's configuration descriptor structure definitions to clearly indicate what descriptors belong to which interface.
Diffstat (limited to 'Demos/Device/Incomplete/TestAndMeasurement/Descriptors.h')
-rw-r--r--Demos/Device/Incomplete/TestAndMeasurement/Descriptors.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/Demos/Device/Incomplete/TestAndMeasurement/Descriptors.h b/Demos/Device/Incomplete/TestAndMeasurement/Descriptors.h
index 5ae6e4d1d..7b4fb0b35 100644
--- a/Demos/Device/Incomplete/TestAndMeasurement/Descriptors.h
+++ b/Demos/Device/Incomplete/TestAndMeasurement/Descriptors.h
@@ -66,10 +66,12 @@
typedef struct
{
USB_Descriptor_Configuration_Header_t Config;
- USB_Descriptor_Interface_t Interface;
- USB_Descriptor_Endpoint_t DataOutEndpoint;
- USB_Descriptor_Endpoint_t DataInEndpoint;
- USB_Descriptor_Endpoint_t NotificationEndpoint;
+
+ // Test and Measurement Interface
+ USB_Descriptor_Interface_t TM_Interface;
+ USB_Descriptor_Endpoint_t TM_DataOutEndpoint;
+ USB_Descriptor_Endpoint_t TM_DataInEndpoint;
+ USB_Descriptor_Endpoint_t TM_NotificationEndpoint;
} USB_Descriptor_Configuration_t;
/* Function Prototypes: */