1
0
mirror of https://github.com/cathery/sys-con.git synced 2024-11-16 14:09:51 +00:00

Enable psc module again

This commit is contained in:
cathery 2020-04-15 13:54:33 +03:00
parent 6931560c8e
commit 78b7818f9b

View File

@ -61,7 +61,7 @@ extern "C" void __appInit(void)
if (hosversionAtLeast(7,0,0))
R_ABORT_UNLESS(hiddbgAttachHdlsWorkBuffer());
R_ABORT_UNLESS(usbHsInitialize());
//R_ABORT_UNLESS(pscmInitialize());
R_ABORT_UNLESS(pscmInitialize());
R_ABORT_UNLESS(fsInitialize());
});
@ -70,7 +70,7 @@ extern "C" void __appInit(void)
extern "C" void __appExit(void)
{
//pscmExit();
pscmExit();
usbHsExit();
hiddbgReleaseHdlsWorkBuffer();
hiddbgExit();
@ -87,14 +87,14 @@ int main(int argc, char *argv[])
config::Initialize();
controllers::Initialize();
usb::Initialize();
//psc::Initialize();
psc::Initialize();
while (true)
{
svcSleepThread(1e+8L);
}
//psc::Exit();
psc::Exit();
usb::Exit();
controllers::Exit();
config::Exit();