X-Git-Url: http://git.linex4red.de/pub/USBasp.git/blobdiff_plain/110711598af766ef5da7aaf183d0c4886beb8fb7..d4b45e8502a27c0f5ad3e26eabd2b30e84c20bac:/LUFA/Drivers/USB/Core/ConfigDescriptor.h diff --git a/LUFA/Drivers/USB/Core/ConfigDescriptor.h b/LUFA/Drivers/USB/Core/ConfigDescriptor.h index b34937a96..5e97939e7 100644 --- a/LUFA/Drivers/USB/Core/ConfigDescriptor.h +++ b/LUFA/Drivers/USB/Core/ConfigDescriptor.h @@ -1,13 +1,13 @@ /* LUFA Library - Copyright (C) Dean Camera, 2011. + Copyright (C) Dean Camera, 2012. dean [at] fourwalledcubicle [dot] com www.lufa-lib.org */ /* - Copyright 2011 Dean Camera (dean [at] fourwalledcubicle [dot] com) + Copyright 2012 Dean Camera (dean [at] fourwalledcubicle [dot] com) Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted @@ -36,7 +36,7 @@ * dispatch header located in LUFA/Drivers/USB/USB.h. */ -/** \ingroup Group_Descriptors +/** \ingroup Group_StdDescriptors * \defgroup Group_ConfigDescriptorParser Configuration Descriptor Parser * \brief USB Configuration Descriptor definitions. * @@ -52,7 +52,7 @@ /* Includes: */ #include "../../../Common/Common.h" - #include "USBMode.h" + #include "USBMode.h" #include "HostStandardReq.h" #include "StdDescriptors.h" @@ -266,7 +266,7 @@ void** CurrConfigLoc) { uint16_t CurrDescriptorSize = DESCRIPTOR_CAST(*CurrConfigLoc, USB_Descriptor_Header_t).Size; - + if (*BytesRem < CurrDescriptorSize) CurrDescriptorSize = *BytesRem;