diff options
Diffstat (limited to 'Projects')
-rw-r--r-- | Projects/HIDReportViewer/HIDReportViewer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Projects/HIDReportViewer/HIDReportViewer.c b/Projects/HIDReportViewer/HIDReportViewer.c index aa4c3e598..2250ddfe4 100644 --- a/Projects/HIDReportViewer/HIDReportViewer.c +++ b/Projects/HIDReportViewer/HIDReportViewer.c @@ -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); |