From 10b0d3a499ec70b1d9ce5b1a149e76a8eb5af406 Mon Sep 17 00:00:00 2001 From: cathery Date: Mon, 20 Apr 2020 15:07:03 +0300 Subject: [PATCH] Don't destroy events on sleep --- source/Sysmodule/source/psc_module.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/Sysmodule/source/psc_module.cpp b/source/Sysmodule/source/psc_module.cpp index 29e20e8..7737b0f 100644 --- a/source/Sysmodule/source/psc_module.cpp +++ b/source/Sysmodule/source/psc_module.cpp @@ -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: