From e5afa33b79c4cbd3bb713f34b17410939819c4dd Mon Sep 17 00:00:00 2001 From: Eric Tang Date: Fri, 29 Jun 2018 23:06:31 -0700 Subject: [PATCH] Allow scanning to continue if the host is asleep --- right/src/usb_report_updater.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/right/src/usb_report_updater.c b/right/src/usb_report_updater.c index efd0600..87f78ca 100644 --- a/right/src/usb_report_updater.c +++ b/right/src/usb_report_updater.c @@ -409,7 +409,7 @@ void UpdateUsbReports(void) { usb_status_t status; - if (UsbReportUpdateSemaphore) { + if (UsbReportUpdateSemaphore && !IsHostSleeping) { return; }