aboutsummaryrefslogtreecommitdiffstats
path: root/LUFA/Drivers/USB
diff options
context:
space:
mode:
authorDean Camera <dean@fourwalledcubicle.com>2009-05-26 04:46:35 +0000
committerDean Camera <dean@fourwalledcubicle.com>2009-05-26 04:46:35 +0000
commit7eb4eb7cdd1ba6a9a6e1ae82968294445667f2e0 (patch)
tree146270bd13607692dd55f85ab8a5a668c5a433d1 /LUFA/Drivers/USB
parentb7ef7f49c9f6b4de962ae32776866bd1d5d59c3b (diff)
downloadlufa-7eb4eb7cdd1ba6a9a6e1ae82968294445667f2e0.tar.gz
lufa-7eb4eb7cdd1ba6a9a6e1ae82968294445667f2e0.tar.bz2
lufa-7eb4eb7cdd1ba6a9a6e1ae82968294445667f2e0.zip
Fix all device mode demos broken in the recent API changes.
Change USBtoSerial Tx to polling-driven rather than interrupt driven, to ensure more time for the Rx interrupt to be serviced.
Diffstat (limited to 'LUFA/Drivers/USB')
-rw-r--r--LUFA/Drivers/USB/LowLevel/Device.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/LUFA/Drivers/USB/LowLevel/Device.h b/LUFA/Drivers/USB/LowLevel/Device.h
index cf54345c4..31d612c0a 100644
--- a/LUFA/Drivers/USB/LowLevel/Device.h
+++ b/LUFA/Drivers/USB/LowLevel/Device.h
@@ -117,8 +117,7 @@
/* Function Prototypes: */
/** Function to retrieve a given descriptor's size and memory location from the given descriptor type value,
* index and language ID. This function MUST be overridden in the user application (added with full, identical
- * prototype and name except for the \ref ATTR_WEAK attribute) so that the library can call it to retrieve descriptor
- * data.
+ * prototype and name so that the library can call it to retrieve descriptor data.
*
* \param wValue The type of the descriptor to retrieve in the upper byte, and the index in the
* lower byte (when more than one descriptor of the given type exists, such as the
@@ -139,7 +138,7 @@
* \return Size in bytes of the descriptor if it exists, zero or \ref NO_DESCRIPTOR otherwise
*/
uint16_t CALLBACK_USB_GetDescriptor(const uint16_t wValue, const uint8_t wIndex, void** const DescriptorAddress)
- ATTR_WARN_UNUSED_RESULT ATTR_WEAK ATTR_NON_NULL_PTR_ARG(3);
+ ATTR_WARN_UNUSED_RESULT ATTR_NON_NULL_PTR_ARG(3);
/* Private Interface - For use in library only: */
#if !defined(__DOXYGEN__)