Allow scanning to continue if the host is asleep

This commit is contained in:
Eric Tang
2018-06-29 23:06:31 -07:00
parent d3dfc9bd2c
commit e5afa33b79

View File

@@ -409,7 +409,7 @@ void UpdateUsbReports(void)
{
usb_status_t status;
if (UsbReportUpdateSemaphore) {
if (UsbReportUpdateSemaphore && !IsHostSleeping) {
return;
}