1
0
mirror of https://github.com/cathery/sys-con.git synced 2024-07-03 02:18:43 +00:00

Add debug interface change logs

This commit is contained in:
cathery 2020-03-02 18:24:09 +03:00
parent 42f14cd74c
commit a7e1c5d204

View File

@ -76,7 +76,7 @@ namespace syscon::usb
if (R_SUCCEEDED(eventWait(usbHsGetInterfaceStateChangeEvent(), UINT64_MAX)))
{
s32 total_entries;
//WriteToLog("Interface state was changed");
WriteToLog("Interface state was changed");
eventClear(usbHsGetInterfaceStateChangeEvent());
if (R_SUCCEEDED(usbHsQueryAcquiredInterfaces(interfaces, sizeof(interfaces), &total_entries)))
{
@ -102,7 +102,7 @@ namespace syscon::usb
{
//WriteToLog("Erasing controller! %i", (*it)->GetController()->GetType());
handler::Get().erase(it--);
//WriteToLog("Controller erased!");
WriteToLog("Controller erased!");
}
}
}