aboutsummaryrefslogtreecommitdiffstats
path: root/Demos/Host/LowLevel/AudioOutputHost/AudioOutputHost.c
diff options
context:
space:
mode:
authorDean Camera <dean@fourwalledcubicle.com>2011-07-08 07:56:40 +0000
committerDean Camera <dean@fourwalledcubicle.com>2011-07-08 07:56:40 +0000
commitd9c16402b9059628a9c45a129a99cae86b48aa5d (patch)
treef16c77375babc841d2b712a526b65cfb16199089 /Demos/Host/LowLevel/AudioOutputHost/AudioOutputHost.c
parent137ce280c1e9c33e9393f1dfd6bb160c131bd1a4 (diff)
downloadlufa-d9c16402b9059628a9c45a129a99cae86b48aa5d.tar.gz
lufa-d9c16402b9059628a9c45a129a99cae86b48aa5d.tar.bz2
lufa-d9c16402b9059628a9c45a129a99cae86b48aa5d.zip
Add missing device deconfiguration-on-error statements to the host mode demos and projects.
Diffstat (limited to 'Demos/Host/LowLevel/AudioOutputHost/AudioOutputHost.c')
-rw-r--r--Demos/Host/LowLevel/AudioOutputHost/AudioOutputHost.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/Demos/Host/LowLevel/AudioOutputHost/AudioOutputHost.c b/Demos/Host/LowLevel/AudioOutputHost/AudioOutputHost.c
index 4fdb661fa..704ddea98 100644
--- a/Demos/Host/LowLevel/AudioOutputHost/AudioOutputHost.c
+++ b/Demos/Host/LowLevel/AudioOutputHost/AudioOutputHost.c
@@ -134,6 +134,7 @@ void EVENT_USB_Host_DeviceEnumerationComplete(void)
" -- Error Code: %d\r\n" ESC_FG_WHITE), ErrorCode);
LEDs_SetAllLEDs(LEDMASK_USB_ERROR);
+ USB_Host_SetDeviceConfiguration(0);
return;
}