diff options
author | Dean Camera <dean@fourwalledcubicle.com> | 2011-07-08 07:56:40 +0000 |
---|---|---|
committer | Dean Camera <dean@fourwalledcubicle.com> | 2011-07-08 07:56:40 +0000 |
commit | d9c16402b9059628a9c45a129a99cae86b48aa5d (patch) | |
tree | f16c77375babc841d2b712a526b65cfb16199089 /Demos/Host/ClassDriver/MouseHostWithParser/MouseHostWithParser.c | |
parent | 137ce280c1e9c33e9393f1dfd6bb160c131bd1a4 (diff) | |
download | lufa-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/ClassDriver/MouseHostWithParser/MouseHostWithParser.c')
-rw-r--r-- | Demos/Host/ClassDriver/MouseHostWithParser/MouseHostWithParser.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Demos/Host/ClassDriver/MouseHostWithParser/MouseHostWithParser.c b/Demos/Host/ClassDriver/MouseHostWithParser/MouseHostWithParser.c index b71554f48..d8a6b74e6 100644 --- a/Demos/Host/ClassDriver/MouseHostWithParser/MouseHostWithParser.c +++ b/Demos/Host/ClassDriver/MouseHostWithParser/MouseHostWithParser.c @@ -215,6 +215,7 @@ void EVENT_USB_Host_DeviceEnumerationComplete(void) { puts_P(PSTR("Error Setting Report Protocol Mode or Not a Valid Mouse.\r\n")); LEDs_SetAllLEDs(LEDMASK_USB_ERROR); + USB_Host_SetDeviceConfiguration(0); return; } |