Simplify hid_decode using the new HIDParser::PrintToStream() which generates the

same output.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41952 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Michael Lotz 2011-06-06 00:50:23 +00:00
parent bc64bf6ab4
commit f7a566feb7

View File

@ -54,11 +54,6 @@ main(int argc, char *argv[])
return 5;
}
for (uint32 i = 0; i < parser.CountReports(HID_REPORT_TYPE_ANY); i++)
parser.ReportAt(HID_REPORT_TYPE_ANY, i)->PrintToStream();
if (parser.RootCollection() != NULL)
parser.RootCollection()->PrintToStream();
parser.PrintToStream();
return 0;
}