Allow scanning to continue if the host is asleep
This commit is contained in:
@@ -409,7 +409,7 @@ void UpdateUsbReports(void)
|
|||||||
{
|
{
|
||||||
usb_status_t status;
|
usb_status_t status;
|
||||||
|
|
||||||
if (UsbReportUpdateSemaphore) {
|
if (UsbReportUpdateSemaphore && !IsHostSleeping) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user