Added new JoystickHostWithParser demos to the library.
[pub/lufa.git] / Demos / Host / LowLevel / KeyboardHostWithParser / ConfigDescriptor.c
index d09e4c4..52f9a0f 100644 (file)
@@ -43,7 +43,7 @@
  *\r
  *  This routine searches for a HID interface descriptor containing at least one Interrupt type IN endpoint and HID descriptor.\r
  *\r
- *  \return An error code from the KeyboardHostWithParser_GetConfigDescriptorDataCodes_t enum.\r
+ *  \return An error code from the \ref KeyboardHostWithParser_GetConfigDescriptorDataCodes_t enum.\r
  */\r
 uint8_t ProcessConfigurationDescriptor(void)\r
 {\r
@@ -85,7 +85,7 @@ uint8_t ProcessConfigurationDescriptor(void)
 \r
        /* Get the keyboard interface's data endpoint descriptor */\r
        if (USB_GetNextDescriptorComp(&CurrConfigBytesRem, &CurrConfigLocation,\r
-                                     DComp_NextInterfaceKeyboardDataEndpoint) != DESCRIPTOR_SEARCH_COMP_Found)\r
+                                     DComp_NextKeyboardInterfaceDataEndpoint) != DESCRIPTOR_SEARCH_COMP_Found)\r
        {\r
                /* Descriptor not found, error out */\r
                return NoEndpointFound;\r
@@ -108,7 +108,7 @@ uint8_t ProcessConfigurationDescriptor(void)
  *\r
  *  This comparator searches for the next Interface descriptor of the correct Keyboard HID Class and Protocol values.\r
  *\r
- *  \return A value from the DSEARCH_Return_ErrorCodes_t enum\r
+ *  \return A value from the \ref DSEARCH_Return_ErrorCodes_t enum\r
  */\r
 uint8_t DComp_NextKeyboardInterface(void* CurrentDescriptor)\r
 {\r
@@ -132,9 +132,9 @@ uint8_t DComp_NextKeyboardInterface(void* CurrentDescriptor)
  *  This comparator searches for the next IN Endpoint descriptor inside the current interface descriptor,\r
  *  aborting the search if another interface descriptor is found before the required endpoint.\r
  *\r
- *  \return A value from the DSEARCH_Return_ErrorCodes_t enum\r
+ *  \return A value from the \ref DSEARCH_Return_ErrorCodes_t enum\r
  */\r
-uint8_t DComp_NextInterfaceKeyboardDataEndpoint(void* CurrentDescriptor)\r
+uint8_t DComp_NextKeyboardInterfaceDataEndpoint(void* CurrentDescriptor)\r
 {\r
        if (DESCRIPTOR_TYPE(CurrentDescriptor) == DTYPE_Endpoint)\r
        {\r
@@ -155,7 +155,7 @@ uint8_t DComp_NextInterfaceKeyboardDataEndpoint(void* CurrentDescriptor)
  *\r
  *  This comparator searches for the next HID descriptor within the current HID interface descriptor.\r
  *\r
- *  \return A value from the DSEARCH_Return_ErrorCodes_t enum\r
+ *  \return A value from the \ref DSEARCH_Return_ErrorCodes_t enum\r
  */\r
 uint8_t DComp_NextHID(void* CurrentDescriptor)\r
 {\r