diff options
author | Dean Camera <dean@fourwalledcubicle.com> | 2011-06-20 01:39:03 +0000 |
---|---|---|
committer | Dean Camera <dean@fourwalledcubicle.com> | 2011-06-20 01:39:03 +0000 |
commit | 6599238dab21b864a40ca1873f3621d9bbd10a4c (patch) | |
tree | 13bbd96ae9a7e5ad8ed00297e753ea6fd0da7689 /Demos | |
parent | 5e0c80770840c88d9478e1c3252c20c37b15edea (diff) | |
download | lufa-6599238dab21b864a40ca1873f3621d9bbd10a4c.tar.gz lufa-6599238dab21b864a40ca1873f3621d9bbd10a4c.tar.bz2 lufa-6599238dab21b864a40ca1873f3621d9bbd10a4c.zip |
Remove HID parser information output from the Low Level Host applications using the HID Report parser to simplify them, as this information can now be obtained using the new HIDReportViewer project when required.
Diffstat (limited to 'Demos')
3 files changed, 0 insertions, 54 deletions
diff --git a/Demos/Host/LowLevel/JoystickHostWithParser/JoystickHostWithParser.c b/Demos/Host/LowLevel/JoystickHostWithParser/JoystickHostWithParser.c index 916887243..52ce8fea8 100644 --- a/Demos/Host/LowLevel/JoystickHostWithParser/JoystickHostWithParser.c +++ b/Demos/Host/LowLevel/JoystickHostWithParser/JoystickHostWithParser.c @@ -190,24 +190,6 @@ void Joystick_HID_Task(void) break; } - printf("Total Reports: %d\r\n", HIDReportInfo.TotalDeviceReports); - - for (uint8_t i = 0; i < HIDReportInfo.TotalDeviceReports; i++) - { - HID_ReportSizeInfo_t* CurrReportIDInfo = &HIDReportInfo.ReportIDSizes[i]; - - uint8_t ReportSizeInBits = CurrReportIDInfo->ReportSizeBits[HID_REPORT_ITEM_In]; - uint8_t ReportSizeOutBits = CurrReportIDInfo->ReportSizeBits[HID_REPORT_ITEM_Out]; - uint8_t ReportSizeFeatureBits = CurrReportIDInfo->ReportSizeBits[HID_REPORT_ITEM_Feature]; - - /* Print out the byte sizes of each report within the device */ - printf_P(PSTR(" + Report ID %d - In: %d bytes, Out: %d bytes, Feature: %d bytes\r\n"), - CurrReportIDInfo->ReportID, - ((ReportSizeInBits >> 3) + ((ReportSizeInBits & 0x07) != 0)), - ((ReportSizeOutBits >> 3) + ((ReportSizeOutBits & 0x07) != 0)), - ((ReportSizeFeatureBits >> 3) + ((ReportSizeFeatureBits & 0x07) != 0))); - } - puts_P(PSTR("Joystick Enumerated.\r\n")); USB_HostState = HOST_STATE_Configured; diff --git a/Demos/Host/LowLevel/KeyboardHostWithParser/KeyboardHostWithParser.c b/Demos/Host/LowLevel/KeyboardHostWithParser/KeyboardHostWithParser.c index 6ef7a9677..ac709003d 100644 --- a/Demos/Host/LowLevel/KeyboardHostWithParser/KeyboardHostWithParser.c +++ b/Demos/Host/LowLevel/KeyboardHostWithParser/KeyboardHostWithParser.c @@ -191,24 +191,6 @@ void Keyboard_HID_Task(void) break; } - printf("Total Reports: %d\r\n", HIDReportInfo.TotalDeviceReports); - - for (uint8_t i = 0; i < HIDReportInfo.TotalDeviceReports; i++) - { - HID_ReportSizeInfo_t* CurrReportIDInfo = &HIDReportInfo.ReportIDSizes[i]; - - uint8_t ReportSizeInBits = CurrReportIDInfo->ReportSizeBits[HID_REPORT_ITEM_In]; - uint8_t ReportSizeOutBits = CurrReportIDInfo->ReportSizeBits[HID_REPORT_ITEM_Out]; - uint8_t ReportSizeFeatureBits = CurrReportIDInfo->ReportSizeBits[HID_REPORT_ITEM_Feature]; - - /* Print out the byte sizes of each report within the device */ - printf_P(PSTR(" + Report ID %d - In: %d bytes, Out: %d bytes, Feature: %d bytes\r\n"), - CurrReportIDInfo->ReportID, - ((ReportSizeInBits >> 3) + ((ReportSizeInBits & 0x07) != 0)), - ((ReportSizeOutBits >> 3) + ((ReportSizeOutBits & 0x07) != 0)), - ((ReportSizeFeatureBits >> 3) + ((ReportSizeFeatureBits & 0x07) != 0))); - } - puts_P(PSTR("Keyboard Enumerated.\r\n")); USB_HostState = HOST_STATE_Configured; diff --git a/Demos/Host/LowLevel/MouseHostWithParser/MouseHostWithParser.c b/Demos/Host/LowLevel/MouseHostWithParser/MouseHostWithParser.c index 34a329194..0081096dd 100644 --- a/Demos/Host/LowLevel/MouseHostWithParser/MouseHostWithParser.c +++ b/Demos/Host/LowLevel/MouseHostWithParser/MouseHostWithParser.c @@ -191,24 +191,6 @@ void Mouse_HID_Task(void) break; } - printf("Total Reports: %d\r\n", HIDReportInfo.TotalDeviceReports); - - for (uint8_t i = 0; i < HIDReportInfo.TotalDeviceReports; i++) - { - HID_ReportSizeInfo_t* CurrReportIDInfo = &HIDReportInfo.ReportIDSizes[i]; - - uint8_t ReportSizeInBits = CurrReportIDInfo->ReportSizeBits[HID_REPORT_ITEM_In]; - uint8_t ReportSizeOutBits = CurrReportIDInfo->ReportSizeBits[HID_REPORT_ITEM_Out]; - uint8_t ReportSizeFeatureBits = CurrReportIDInfo->ReportSizeBits[HID_REPORT_ITEM_Feature]; - - /* Print out the byte sizes of each report within the device */ - printf_P(PSTR(" + Report ID %d - In: %d bytes, Out: %d bytes, Feature: %d bytes\r\n"), - CurrReportIDInfo->ReportID, - ((ReportSizeInBits >> 3) + ((ReportSizeInBits & 0x07) != 0)), - ((ReportSizeOutBits >> 3) + ((ReportSizeOutBits & 0x07) != 0)), - ((ReportSizeFeatureBits >> 3) + ((ReportSizeFeatureBits & 0x07) != 0))); - } - puts_P(PSTR("Mouse Enumerated.\r\n")); USB_HostState = HOST_STATE_Configured; |