From ffaa7447d3b0c0d9effbc83400031144bf9745f3 Mon Sep 17 00:00:00 2001 From: Nicolas Schodet Date: Fri, 10 Apr 2009 01:16:22 +0200 Subject: * digital/avr/modules/usb: - do it more the AVR modules way. --- digital/avr/modules/usb/test/descriptors.h | 20 -------------------- 1 file changed, 20 deletions(-) (limited to 'digital/avr/modules/usb/test/descriptors.h') diff --git a/digital/avr/modules/usb/test/descriptors.h b/digital/avr/modules/usb/test/descriptors.h index f7052672..388f0fd0 100644 --- a/digital/avr/modules/usb/test/descriptors.h +++ b/digital/avr/modules/usb/test/descriptors.h @@ -24,8 +24,6 @@ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * * }}} */ -#include -#include /* Endpoints. */ #define TS1_TX_EPNUM 1 @@ -34,22 +32,4 @@ #define TS2_RX_EPNUM 4 #define TS_TXRX_EPSIZE 16 -/* Configuration structure. */ -typedef struct -{ - USB_Descriptor_Configuration_Header_t Config; - USB_Descriptor_Interface_t TS1_Interface; - USB_Descriptor_Endpoint_t TS1_DataOutEndpoint; - USB_Descriptor_Endpoint_t TS1_DataInEndpoint; - USB_Descriptor_Interface_t TS2_Interface; - USB_Descriptor_Endpoint_t TS2_DataOutEndpoint; - USB_Descriptor_Endpoint_t TS2_DataInEndpoint; -} USB_Descriptor_Configuration_t; - -/* Used by LUFA to get descriptors. */ -uint16_t -USB_GetDescriptor (const uint16_t wValue, const uint8_t wIndex, - void** const DescriptorAddress) -ATTR_WARN_UNUSED_RESULT ATTR_NON_NULL_PTR_ARG (3); - #endif /* descriptors_h */ -- cgit v1.2.3