diff options
author | Dean Camera <dean@fourwalledcubicle.com> | 2009-05-17 07:44:00 +0000 |
---|---|---|
committer | Dean Camera <dean@fourwalledcubicle.com> | 2009-05-17 07:44:00 +0000 |
commit | 72c2922e38a2dfd14eb2d8e3692171704b5508f4 (patch) | |
tree | 6ab7cdb9e3ee3b56ae05d83f777ec304dd185cc5 /LUFA/Drivers/USB/HighLevel | |
parent | eeba38e343a299e12964aec15fd43108d3dc9130 (diff) | |
download | lufa-72c2922e38a2dfd14eb2d8e3692171704b5508f4.tar.gz lufa-72c2922e38a2dfd14eb2d8e3692171704b5508f4.tar.bz2 lufa-72c2922e38a2dfd14eb2d8e3692171704b5508f4.zip |
Removed DESCRIPTOR_ADDRESS() macro as it was largely supurflous and only served to obfuscate code.
Diffstat (limited to 'LUFA/Drivers/USB/HighLevel')
-rw-r--r-- | LUFA/Drivers/USB/HighLevel/StdDescriptors.h | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/LUFA/Drivers/USB/HighLevel/StdDescriptors.h b/LUFA/Drivers/USB/HighLevel/StdDescriptors.h index 2de50584b..390ac6b01 100644 --- a/LUFA/Drivers/USB/HighLevel/StdDescriptors.h +++ b/LUFA/Drivers/USB/HighLevel/StdDescriptors.h @@ -175,9 +175,6 @@ */
#define ENDPOINT_USAGE_IMPLICIT_FEEDBACK (2 << 4)
- /** Gives a void pointer to the specified descriptor (of any type). */
- #define DESCRIPTOR_ADDRESS(Descriptor) ((void*)&Descriptor)
-
/* Events: */
#if defined(USB_CAN_BE_DEVICE) || defined(__DOXYGEN__)
/** This module raises the Device Error event while in device mode, if the \ref USB_GetDescriptor()
@@ -483,7 +480,7 @@ * otherwise zero for standard descriptors, or as defined in a class-specific
* standards.
* \param DescriptorAddress Pointer to the descriptor in memory. This should be set by the routine to
- * the location of the descriptor, found by the \ref DESCRIPTOR_ADDRESS() macro.
+ * the address of the descriptor.
*
* \note By default, the library expects all descriptors to be located in flash memory via the PROGMEM attribute.
* If descriptors should be located in RAM or EEPROM instead (to speed up access in the case of RAM, or to
|