mirror of
https://github.com/cathery/sys-con.git
synced 2025-03-12 22:14:30 +00:00
Don't destroy events on sleep
This commit is contained in:
parent
a85ca8505b
commit
2c77618445
@ -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…
x
Reference in New Issue
Block a user