aboutsummaryrefslogtreecommitdiffstats
path: root/LUFA
diff options
context:
space:
mode:
authorDean Camera <dean@fourwalledcubicle.com>2018-03-12 17:11:02 +1100
committerDean Camera <dean@fourwalledcubicle.com>2018-03-12 17:11:02 +1100
commit0a5848efdc7c979ee23b19df2fd399f93631fa3f (patch)
treec1ca19bb4618a89707ceeb21a957ce58321de1a3 /LUFA
parent2028e82e455a3d4caab3ad47b0c3a0815e1c1ae6 (diff)
downloadlufa-0a5848efdc7c979ee23b19df2fd399f93631fa3f.tar.gz
lufa-0a5848efdc7c979ee23b19df2fd399f93631fa3f.tar.bz2
lufa-0a5848efdc7c979ee23b19df2fd399f93631fa3f.zip
Remove unused CDC_FUNCTIONAL_DESCRIPTOR macro.
Diffstat (limited to 'LUFA')
-rw-r--r--LUFA/Drivers/USB/Class/Common/CDCClassCommon.h15
1 files changed, 0 insertions, 15 deletions
diff --git a/LUFA/Drivers/USB/Class/Common/CDCClassCommon.h b/LUFA/Drivers/USB/Class/Common/CDCClassCommon.h
index b3c5f08a7..04fb5a127 100644
--- a/LUFA/Drivers/USB/Class/Common/CDCClassCommon.h
+++ b/LUFA/Drivers/USB/Class/Common/CDCClassCommon.h
@@ -112,21 +112,6 @@
#define CDC_CONTROL_LINE_IN_OVERRUNERROR (1 << 6)
//@}
- /** Macro to define a CDC class-specific functional descriptor. CDC functional descriptors have a
- * uniform structure but variable sized data payloads, thus cannot be represented accurately by
- * a single \c typedef \c struct. A macro is used instead so that functional descriptors can be created
- * easily by specifying the size of the payload. This allows \c sizeof() to work correctly.
- *
- * \param[in] DataSize Size in bytes of the CDC functional descriptor's data payload.
- */
- #define CDC_FUNCTIONAL_DESCRIPTOR(DataSize) \
- struct \
- { \
- USB_Descriptor_Header_t Header; \
- uint8_t SubType; \
- uint8_t Data[DataSize]; \
- }
-
/* Enums: */
/** Enum for possible Class, Subclass and Protocol values of device and interface descriptors relating to the CDC
* device class.