*/
void RetrieveDeviceData(void)
{
- if (USB_CurrentMode != USB_MODE_Host)
+ if (USB_HostState != HOST_STATE_Configured)
return;
LEDs_SetAllLEDs(LEDMASK_USB_BUSY);
*
* \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)
{