aboutsummaryrefslogtreecommitdiffstats
path: root/LUFA/Drivers/USB/Class/ConfigDescriptor.c
diff options
context:
space:
mode:
authorDean Camera <dean@fourwalledcubicle.com>2009-04-19 11:43:21 +0000
committerDean Camera <dean@fourwalledcubicle.com>2009-04-19 11:43:21 +0000
commit663f449c10b9a77a429aaa81066ce2b43ca6dc39 (patch)
tree3a6f06560fa24589836aaf9d2aa8747383913aae /LUFA/Drivers/USB/Class/ConfigDescriptor.c
parent32e735b2b2eefb74e0415a5826692f7ba8c0a984 (diff)
downloadlufa-663f449c10b9a77a429aaa81066ce2b43ca6dc39.tar.gz
lufa-663f449c10b9a77a429aaa81066ce2b43ca6dc39.tar.bz2
lufa-663f449c10b9a77a429aaa81066ce2b43ca6dc39.zip
Fixed incorrect HID interface class and subclass values in the Mouse and KeyboardMouse demos (thanks to Brian Dickman).
Capitolised the "Descriptor_Search" and "Descriptor_Search_Comp" prefixes of the values in the DSearch_Return_ErrorCodes_t and DSearch_Comp_Return_ErrorCodes_t enums. Minor documentation improvements.
Diffstat (limited to 'LUFA/Drivers/USB/Class/ConfigDescriptor.c')
-rw-r--r--LUFA/Drivers/USB/Class/ConfigDescriptor.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/LUFA/Drivers/USB/Class/ConfigDescriptor.c b/LUFA/Drivers/USB/Class/ConfigDescriptor.c
index 61a5c445c..c9f8c3cbb 100644
--- a/LUFA/Drivers/USB/Class/ConfigDescriptor.c
+++ b/LUFA/Drivers/USB/Class/ConfigDescriptor.c
@@ -125,9 +125,9 @@ uint8_t USB_GetNextDescriptorComp_P(uint16_t* BytesRem, uint8_t** CurrConfigLoc,
USB_GetNextDescriptor(BytesRem, CurrConfigLoc);
- if ((ErrorCode = ComparatorRoutine(*CurrConfigLoc)) != Descriptor_Search_NotFound)
+ if ((ErrorCode = ComparatorRoutine(*CurrConfigLoc)) != DESCRIPTOR_SEARCH_NotFound)
{
- if (ErrorCode == Descriptor_Search_Fail)
+ if (ErrorCode == DESCRIPTOR_SEARCH_Fail)
{
*CurrConfigLoc = PrevDescLoc;
*BytesRem = PrevBytesRem;
@@ -137,5 +137,5 @@ uint8_t USB_GetNextDescriptorComp_P(uint16_t* BytesRem, uint8_t** CurrConfigLoc,
}
}
- return Descriptor_Search_Comp_EndOfDescriptor;
+ return DESCRIPTOR_SEARCH_COMP_EndOfDescriptor;
}