Update Atmel Studio blob - use sane method to extract the extension's bundled Getting...
[pub/USBasp.git] / Projects / HIDReportViewer / HIDReportViewer.c
index aa4c3e5..70b2f9e 100644 (file)
@@ -89,7 +89,7 @@ int main(void)
  */
 void RetrieveDeviceData(void)
 {
-       if (USB_CurrentMode != USB_MODE_Host)
+       if (USB_HostState != HOST_STATE_Configured)
          return;
 
        LEDs_SetAllLEDs(LEDMASK_USB_BUSY);
@@ -314,7 +314,7 @@ void EVENT_USB_Host_DeviceEnumerationFailed(const uint8_t ErrorCode,
  *
  *  \param[in] CurrentItem  Pointer to the item the HID report parser is currently working with
  *
- *  \return Boolean true if the item should be stored into the HID report structure, false if it should be discarded
+ *  \return Boolean \c true if the item should be stored into the HID report structure, \c false if it should be discarded
  */
 bool CALLBACK_HIDParser_FilterHIDReportItem(HID_ReportItem_t* const CurrentItem)
 {