1
0
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:
cathery 2020-04-20 15:07:03 +03:00
parent 072b1d4127
commit 10b0d3a499

View File

@ -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: