mirror of
https://github.com/cathery/sys-con.git
synced 2024-11-16 14:09:51 +00:00
Don't destroy events on sleep
This commit is contained in:
parent
072b1d4127
commit
10b0d3a499
@ -31,11 +31,11 @@ namespace syscon::psc
|
||||
switch (pscState)
|
||||
{
|
||||
case PscPmState_ReadyAwaken:
|
||||
usb::CreateUsbEvents();
|
||||
//usb::CreateUsbEvents();
|
||||
break;
|
||||
case PscPmState_ReadySleep:
|
||||
case PscPmState_ReadyShutdown:
|
||||
usb::DestroyUsbEvents();
|
||||
//usb::DestroyUsbEvents();
|
||||
controllers::Reset();
|
||||
break;
|
||||
default:
|
||||
|
Loading…
Reference in New Issue
Block a user