1
0
mirror of https://github.com/cathery/sys-con.git synced 2024-10-01 12:22:01 +00:00

Don't destroy events on sleep

This commit is contained in:
cathery 2020-04-20 15:07:03 +03:00
parent a85ca8505b
commit 2c77618445

View File

@ -31,11 +31,11 @@ namespace syscon::psc
switch (pscState) switch (pscState)
{ {
case PscPmState_ReadyAwaken: case PscPmState_ReadyAwaken:
usb::CreateUsbEvents(); //usb::CreateUsbEvents();
break; break;
case PscPmState_ReadySleep: case PscPmState_ReadySleep:
case PscPmState_ReadyShutdown: case PscPmState_ReadyShutdown:
usb::DestroyUsbEvents(); //usb::DestroyUsbEvents();
controllers::Reset(); controllers::Reset();
break; break;
default: default: