diff options
author | Dean Camera <dean@fourwalledcubicle.com> | 2009-04-01 13:53:58 +0000 |
---|---|---|
committer | Dean Camera <dean@fourwalledcubicle.com> | 2009-04-01 13:53:58 +0000 |
commit | 6933f2e1a543b066ebe734bd126a7ff2f1c2777f (patch) | |
tree | a8fd03c986accab9fa79e43d835e047fb5b0e254 /LUFA/Drivers/USB/Class | |
parent | fb3fcb968ea70f8b5c6d8f7edde65745e49628f2 (diff) | |
download | lufa-6933f2e1a543b066ebe734bd126a7ff2f1c2777f.tar.gz lufa-6933f2e1a543b066ebe734bd126a7ff2f1c2777f.tar.bz2 lufa-6933f2e1a543b066ebe734bd126a7ff2f1c2777f.zip |
All comments in the library, bootloaders, demos and projects have now been spell-checked and spelling mistakes/typos corrected.
Diffstat (limited to 'LUFA/Drivers/USB/Class')
-rw-r--r-- | LUFA/Drivers/USB/Class/ConfigDescriptor.h | 10 | ||||
-rw-r--r-- | LUFA/Drivers/USB/Class/HIDParser.h | 2 | ||||
-rw-r--r-- | LUFA/Drivers/USB/Class/HIDReportData.h | 2 |
3 files changed, 7 insertions, 7 deletions
diff --git a/LUFA/Drivers/USB/Class/ConfigDescriptor.h b/LUFA/Drivers/USB/Class/ConfigDescriptor.h index d1f8927f8..d42b71cce 100644 --- a/LUFA/Drivers/USB/Class/ConfigDescriptor.h +++ b/LUFA/Drivers/USB/Class/ConfigDescriptor.h @@ -97,13 +97,13 @@ #define DESCRIPTOR_SIZE(DescriptorPtr) DESCRIPTOR_CAST(DescriptorPtr, USB_Descriptor_Header_t).bLength
#endif
- /** Creates a prototype for or begins a descriptor comparitor routine. Descriptor comparitor routines are
+ /** Creates a prototype for or begins a descriptor comparator routine. Descriptor comparator routines are
* small search routines which are passed a pointer to the current sub descriptor in the configuration
* descriptor, and which analyse the sub descriptor to determine whether or not it matches the routine's
- * search parameters. Comparitor routines provide a powerful way to scan through the config descriptor
+ * search parameters. Comparator routines provide a powerful way to scan through the config descriptor
* for certain descriptors matching unique criteria.
*
- * Comparitor routines are passed in a single pointer named CurrentDescriptor, and should return a value
+ * Comparator routines are passed in a single pointer named CurrentDescriptor, and should return a value
* of a member of the DSEARCH_Return_ErrorCodes_t enum.
*/
#define DESCRIPTOR_COMPARATOR(name) uint8_t DCOMP_##name (void* const CurrentDescriptor)
@@ -117,7 +117,7 @@ *
* \param DSize Pointer to an int storing the remaining bytes in the configuration descriptor
* \param DPos Pointer to the current position in the configuration descriptor
- * \param DSearch Name of the comparitor search function to use on the configuration descriptor
+ * \param DSearch Name of the comparator search function to use on the configuration descriptor
*
* \return Value of one of the members of the DSEARCH_Comp_Return_ErrorCodes_t enum
*
@@ -156,7 +156,7 @@ /** Enum for return values of USB_Host_GetNextDescriptorComp() */
enum DSEARCH_Comp_Return_ErrorCodes_t
{
- Descriptor_Search_Comp_Found = 0, /**< Configuration descriptor now points to decriptor which matches
+ Descriptor_Search_Comp_Found = 0, /**< Configuration descriptor now points to descriptor which matches
* search criteria of the given comparator function. */
Descriptor_Search_Comp_Fail = 1, /**< Comparator function returned Descriptor_Search_Fail. */
Descriptor_Search_Comp_EndOfDescriptor = 2, /**< End of configuration descriptor reached before match found. */
diff --git a/LUFA/Drivers/USB/Class/HIDParser.h b/LUFA/Drivers/USB/Class/HIDParser.h index 314d08072..47a678b9b 100644 --- a/LUFA/Drivers/USB/Class/HIDParser.h +++ b/LUFA/Drivers/USB/Class/HIDParser.h @@ -220,7 +220,7 @@ bool GetReportItemInfo(const uint8_t* ReportData, HID_ReportItem_t* const ReportItem)
ATTR_NON_NULL_PTR_ARG(1, 2);
- /** Retreives the given report item's value out of the Value member of the report item's
+ /** Retrieves the given report item's value out of the Value member of the report item's
* HID_ReportItem_t structure and places it into the correct position in the HID report
* buffer. The report buffer is assumed to have the appropriate bits cleared before calling
* this function (i.e., the buffer should be explicitly cleared before report values are added).
diff --git a/LUFA/Drivers/USB/Class/HIDReportData.h b/LUFA/Drivers/USB/Class/HIDReportData.h index 1bb8676d7..0961cd40c 100644 --- a/LUFA/Drivers/USB/Class/HIDReportData.h +++ b/LUFA/Drivers/USB/Class/HIDReportData.h @@ -84,7 +84,7 @@ /** HID_ReportItem_t.ItemFlags flag for buffered bytes. */
#define IOF_BUFFEREDBYTES (1 << 8)
- /** HID_ReportItem_t.ItemFlags flag for bitfield data. */
+ /** HID_ReportItem_t.ItemFlags flag for bit field data. */
#define IOF_BITFIELD (0 << 8)
/* Private Interface - For use in library only: */
|