aboutsummaryrefslogtreecommitdiffstats
path: root/Demos/Device/AudioOutput/Descriptors.c
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 /Demos/Device/AudioOutput/Descriptors.c
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 'Demos/Device/AudioOutput/Descriptors.c')
-rw-r--r--Demos/Device/AudioOutput/Descriptors.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Demos/Device/AudioOutput/Descriptors.c b/Demos/Device/AudioOutput/Descriptors.c
index 0c3873b41..92d7e0d57 100644
--- a/Demos/Device/AudioOutput/Descriptors.c
+++ b/Demos/Device/AudioOutput/Descriptors.c
@@ -271,7 +271,7 @@ USB_Descriptor_String_t PROGMEM ProductString =
* is called so that the descriptor details can be passed back and the appropriate descriptor sent back to the
* USB host.
*/
-uint16_t USB_GetDescriptor(const uint16_t wValue, const uint8_t wIndex, void** const DescriptorAddress)
+uint16_t CALLBACK_USB_GetDescriptor(const uint16_t wValue, const uint8_t wIndex, void** const DescriptorAddress)
{
const uint8_t DescriptorType = (wValue >> 8);
const uint8_t DescriptorNumber = (wValue & 0xFF);