aboutsummaryrefslogtreecommitdiffstats
path: root/Demos/Device/LowLevel/MIDI
diff options
context:
space:
mode:
authorDean Camera <dean@fourwalledcubicle.com>2010-07-02 03:37:19 +0000
committerDean Camera <dean@fourwalledcubicle.com>2010-07-02 03:37:19 +0000
commit8b053d6ba5dddc5f00fb52873185a2350bef5ce8 (patch)
treea4204e3e270ef15a17068e6aba01788ab28464f1 /Demos/Device/LowLevel/MIDI
parent31a34154dbbc20adc523eb08678977d218ae8135 (diff)
downloadlufa-8b053d6ba5dddc5f00fb52873185a2350bef5ce8.tar.gz
lufa-8b053d6ba5dddc5f00fb52873185a2350bef5ce8.tar.bz2
lufa-8b053d6ba5dddc5f00fb52873185a2350bef5ce8.zip
Added new Drivers/USB/LowLevel/Device.c file to house Device mode specific functions that are more complicated than simple macros. Moved USB_Device_SendRemoteWakeup() to the new Device.c source file and corrected it to unfreeze and restart the USB controller clock before issuing a Remote Wakeup request.
Removed the USB_Device_IsRemoteWakeupSent() and USB_Device_IsUSBSuspended() macros, as they are now obsolete.
Diffstat (limited to 'Demos/Device/LowLevel/MIDI')
-rw-r--r--Demos/Device/LowLevel/MIDI/makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/Demos/Device/LowLevel/MIDI/makefile b/Demos/Device/LowLevel/MIDI/makefile
index 40e8f885c..5b5a4e9bb 100644
--- a/Demos/Device/LowLevel/MIDI/makefile
+++ b/Demos/Device/LowLevel/MIDI/makefile
@@ -128,6 +128,7 @@ LUFA_OPTS += -D USE_STATIC_OPTIONS="(USB_DEVICE_OPT_FULLSPEED | USB_OPT_REG_ENAB
SRC = $(TARGET).c \
Descriptors.c \
$(LUFA_PATH)/LUFA/Drivers/USB/LowLevel/DevChapter9.c \
+ $(LUFA_PATH)/LUFA/Drivers/USB/LowLevel/Device.c \
$(LUFA_PATH)/LUFA/Drivers/USB/LowLevel/Endpoint.c \
$(LUFA_PATH)/LUFA/Drivers/USB/LowLevel/Host.c \
$(LUFA_PATH)/LUFA/Drivers/USB/LowLevel/HostChapter9.c \