Fix to previous patch (make CDCHost demo deallocate pipes when an invalid CDC interfa...
authorDean Camera <dean@fourwalledcubicle.com>
Fri, 15 May 2009 08:02:30 +0000 (08:02 +0000)
committerDean Camera <dean@fourwalledcubicle.com>
Fri, 15 May 2009 08:02:30 +0000 (08:02 +0000)
commit76d5e99bb8765030a7f99e7b5adf9bae7f92e0ba
tree3d21b280a0648adcf2f3d66b9e3fa5c0c00c7f6e
parentfabfdd454a11440a5789a70f6476889b02928438
Fix to previous patch (make CDCHost demo deallocate pipes when an invalid CDC interface is skipped).

Remove the saving of the USB_GetNextDescriptorComp() return value in all host demos, since it went unused anyway; replaced with a simple check against the success error code for clarity.
Demos/Host/CDCHost/ConfigDescriptor.c
Demos/Host/GenericHIDHost/ConfigDescriptor.c
Demos/Host/KeyboardHost/ConfigDescriptor.c
Demos/Host/KeyboardHostWithParser/ConfigDescriptor.c
Demos/Host/MassStorageHost/ConfigDescriptor.c
Demos/Host/MouseHost/ConfigDescriptor.c
Demos/Host/MouseHostWithParser/ConfigDescriptor.c
Demos/Host/StillImageHost/ConfigDescriptor.c
LUFA/ChangeLog.txt